aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKate Stone <katherine.stone@apple.com>2016-08-19 20:44:07 +0000
committerKate Stone <katherine.stone@apple.com>2016-08-19 20:44:07 +0000
commit41de9a9791370e9af19720664e00ff322ba526e5 (patch)
tree75893a46b2a1b9fdfc34a25daa3ad91b47f469ef /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent64093a35fff3a533d312604bb6ab558933b30e6a (diff)
downloadllvm-41de9a9791370e9af19720664e00ff322ba526e5.zip
llvm-41de9a9791370e9af19720664e00ff322ba526e5.tar.gz
llvm-41de9a9791370e9af19720664e00ff322ba526e5.tar.bz2
Moved #include for lldb-python.h to a distinct group with a reminder comment
declaring that it must be first. Failure to do so results in build failures on macOS due to subtle header conflicts. llvm-svn: 279315
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 23075e1..5e010bc 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -13,7 +13,9 @@
#else
+// LLDB Python header must be included first
#include "lldb-python.h"
+
#include "ScriptInterpreterPython.h"
#include "PythonDataObjects.h"
#include "PythonExceptionState.h"