[Lldb-commits] [lldb] r181885 - Include also sys/wait.h in the case of a FreeBSD kernel with a glibc (Debian KFreeBSD for example)

Sylvestre Ledru sylvestre at debian.org
Wed May 15 06:56:44 PDT 2013


Author: sylvestre
Date: Wed May 15 08:56:44 2013
New Revision: 181885

URL: http://llvm.org/viewvc/llvm-project?rev=181885&view=rev
Log:
Include also sys/wait.h in the case of a FreeBSD kernel with a glibc (Debian KFreeBSD for example)

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=181885&r1=181884&r2=181885&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Wed May 15 08:56:44 2013
@@ -27,7 +27,8 @@
 #include <mach-o/dyld.h>
 #include <mach/mach_port.h>
 
-#elif defined (__linux__)
+#elif defined (__linux__) || defined(__FreeBSD_kernel__)
+/*  Linux or the FreeBSD kernel with glibc (Debian KFreeBSD for example) */
 
 #include <sys/wait.h>
 





More information about the lldb-commits mailing list