[Lldb-commits] [lldb] r196167 - Fix build on FreeBSD after r196141

Ed Maste emaste at freebsd.org
Mon Dec 2 14:54:16 PST 2013


Author: emaste
Date: Mon Dec  2 16:54:15 2013
New Revision: 196167

URL: http://llvm.org/viewvc/llvm-project?rev=196167&view=rev
Log:
Fix build on FreeBSD after r196141

This should probably be replaced with build infrastructure support for
a platform-specific canonical Python include path, but for now it should
restore the FreeBSD buildbot.

Modified:
    lldb/trunk/include/lldb/lldb-python.h

Modified: lldb/trunk/include/lldb/lldb-python.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-python.h?rev=196167&r1=196166&r2=196167&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-python.h (original)
+++ lldb/trunk/include/lldb/lldb-python.h Mon Dec  2 16:54:15 2013
@@ -18,7 +18,11 @@
 
 #else
 
+#ifdef __FreeBSD__
+#include <Python.h>
+#else
 #include <Python/Python.h>
+#endif
 
 #endif // LLDB_DISABLE_PYTHON
 





More information about the lldb-commits mailing list