summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-03-17 10:30:42 +0000
committerPavel Labath <labath@google.com>2017-03-17 10:30:42 +0000
commit1495663bc4b4800a505bc13d121759f73c886d80 (patch)
tree2b6ea56fa554ba01a4aedb5b27ade389179c1d83
parent1ab9cf49d0bc040bf0bd2869ecb59d95d0192cea (diff)
downloadbcm5719-llvm-1495663bc4b4800a505bc13d121759f73c886d80.tar.gz
bcm5719-llvm-1495663bc4b4800a505bc13d121759f73c886d80.zip
One more attempt to fix FreeBSD
It seems sysctl.h is not self-contained, as I get missing symbols in the header itself now. I am going to include all files that the file I moved this from included, and hope that is enough. llvm-svn: 298063
-rw-r--r--lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp b/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
index 3269f2ab6b6..9386d0eab84 100644
--- a/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
+++ b/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
@@ -9,8 +9,12 @@
// C Includes
#include <errno.h>
+#include <pthread.h>
+#include <pthread_np.h>
+#include <stdlib.h>
#include <sys/sysctl.h>
#include <sys/types.h>
+#include <sys/user.h>
// C++ Includes
// Other libraries and framework includes
OpenPOWER on IntegriCloud