summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/freebsd/HostThreadFreeBSD.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-09-09 22:39:56 +0000
committerZachary Turner <zturner@google.com>2014-09-09 22:39:56 +0000
commitf76da3469db7ec66da046f9ee83756f9cff6ea79 (patch)
tree4143975b94c24e9ddd8c5839309c6f6fccb2bbb3 /lldb/source/Host/freebsd/HostThreadFreeBSD.cpp
parent9690f3b59633667e1a406ed5355dbed5d5833cf1 (diff)
downloadbcm5719-llvm-f76da3469db7ec66da046f9ee83756f9cff6ea79.tar.gz
bcm5719-llvm-f76da3469db7ec66da046f9ee83756f9cff6ea79.zip
Include the correct headers for kinfo_proc on FreeBSD.
llvm-svn: 217464
Diffstat (limited to 'lldb/source/Host/freebsd/HostThreadFreeBSD.cpp')
-rw-r--r--lldb/source/Host/freebsd/HostThreadFreeBSD.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Host/freebsd/HostThreadFreeBSD.cpp b/lldb/source/Host/freebsd/HostThreadFreeBSD.cpp
index 7df7698447b..f1954875f9a 100644
--- a/lldb/source/Host/freebsd/HostThreadFreeBSD.cpp
+++ b/lldb/source/Host/freebsd/HostThreadFreeBSD.cpp
@@ -9,6 +9,7 @@
// lldb Includes
#include "lldb/Host/freebsd/HostThreadFreeBSD.h"
+#include "lldb/Host/Host.h"
// C includes
#include <errno.h>
@@ -16,6 +17,7 @@
#include <pthread_np.h>
#include <stdlib.h>
#include <sys/sysctl.h>
+#include <sys/user.h>
// C++ includes
#include <string>
OpenPOWER on IntegriCloud