[Lldb-commits] [lldb] r216000 - Add includes needed for FreeBSD.

Zachary Turner zturner at google.com
Tue Aug 19 11:38:53 PDT 2014


Author: zturner
Date: Tue Aug 19 13:38:53 2014
New Revision: 216000

URL: http://llvm.org/viewvc/llvm-project?rev=216000&view=rev
Log:
Add includes needed for FreeBSD.

Modified:
    lldb/trunk/source/Host/freebsd/HostInfoFreeBSD.cpp

Modified: lldb/trunk/source/Host/freebsd/HostInfoFreeBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/freebsd/HostInfoFreeBSD.cpp?rev=216000&r1=215999&r2=216000&view=diff
==============================================================================
--- lldb/trunk/source/Host/freebsd/HostInfoFreeBSD.cpp (original)
+++ lldb/trunk/source/Host/freebsd/HostInfoFreeBSD.cpp Tue Aug 19 13:38:53 2014
@@ -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)
 {





More information about the lldb-commits mailing list