summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/lldb-python.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/include/lldb/lldb-python.h b/lldb/include/lldb/lldb-python.h
index 4be0133a643..f70806eeb67 100644
--- a/lldb/include/lldb/lldb-python.h
+++ b/lldb/include/lldb/lldb-python.h
@@ -18,7 +18,11 @@
#else
+#ifdef __FreeBSD__
+#include <Python.h>
+#else
#include <Python/Python.h>
+#endif
#endif // LLDB_DISABLE_PYTHON
OpenPOWER on IntegriCloud