[Lldb-commits] [lldb] r190057 - sysctl.h does not exist under GNU/HURD (like windows)

Sylvestre Ledru sylvestre at debian.org
Thu Sep 5 08:39:09 PDT 2013


Author: sylvestre
Date: Thu Sep  5 10:39:09 2013
New Revision: 190057

URL: http://llvm.org/viewvc/llvm-project?rev=190057&view=rev
Log:
sysctl.h does not exist under GNU/HURD (like windows)

Modified:
    lldb/trunk/source/Host/common/Host.cpp

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=190057&r1=190056&r2=190057&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Thu Sep  5 10:39:09 2013
@@ -22,6 +22,10 @@
 #include <grp.h>
 #include <netdb.h>
 #include <pwd.h>
+#endif
+
+#if !defined (__GNU__) && !defined (_WIN32)
+// Does not exist under GNU/HURD or Windows
 #include <sys/sysctl.h>
 #endif
 





More information about the lldb-commits mailing list