diff options
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
-rw-r--r-- | lldb/source/Interpreter/ScriptInterpreterPython.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index 906cb742350..ef472c385a0 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -10,7 +10,11 @@ // In order to guarantee correct working with Python, Python.h *MUST* be // the *FIRST* header file included: +#if defined (__APPLE__) +#include <Python/Python.h> +#else #include <Python.h> +#endif #include "lldb/Interpreter/ScriptInterpreterPython.h" |