summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-08-19 18:38:53 +0000
committerZachary Turner <zturner@google.com>2014-08-19 18:38:53 +0000
commitc4a4110deb871dda4703aaab7cdfc915d87981b7 (patch)
treefe11d8bd416610359528f09b01bdbbd9f87e9572
parent06d601fb3e49bb2471349fddeb67e7a5e82250a6 (diff)
downloadbcm5719-llvm-c4a4110deb871dda4703aaab7cdfc915d87981b7.tar.gz
bcm5719-llvm-c4a4110deb871dda4703aaab7cdfc915d87981b7.zip
Add includes needed for FreeBSD.
llvm-svn: 216000
-rw-r--r--lldb/source/Host/freebsd/HostInfoFreeBSD.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp b/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
index b1c42f25f1e..9b872ea0686 100644
--- a/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
+++ b/lldb/source/Host/freebsd/HostInfoFreeBSD.cpp
@@ -11,9 +11,12 @@
#include <stdio.h>
#include <string.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/utsname.h>
+using namespace lldb_private;
+
bool
HostInfoFreeBSD::GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update)
{
OpenPOWER on IntegriCloud