[Lldb-commits] [lldb] r298063 - One more attempt to fix FreeBSD

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 17 03:30:42 PDT 2017


Author: labath
Date: Fri Mar 17 05:30:42 2017
New Revision: 298063

URL: http://llvm.org/viewvc/llvm-project?rev=298063&view=rev
Log:
One more attempt to fix FreeBSD

It seems sysctl.h is not self-contained, as I get missing symbols in the
header itself now. I am going to include all files that the file I moved
this from included, and hope that is enough.

Modified:
    lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp

Modified: lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp?rev=298063&r1=298062&r2=298063&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Fri Mar 17 05:30:42 2017
@@ -9,8 +9,12 @@
 
 // C Includes
 #include <errno.h>
+#include <pthread.h>
+#include <pthread_np.h>
+#include <stdlib.h>
 #include <sys/sysctl.h>
 #include <sys/types.h>
+#include <sys/user.h>
 
 // C++ Includes
 // Other libraries and framework includes




More information about the lldb-commits mailing list