diff options
author | Kate Stone <katherine.stone@apple.com> | 2016-08-19 20:44:07 +0000 |
---|---|---|
committer | Kate Stone <katherine.stone@apple.com> | 2016-08-19 20:44:07 +0000 |
commit | 41de9a9791370e9af19720664e00ff322ba526e5 (patch) | |
tree | 75893a46b2a1b9fdfc34a25daa3ad91b47f469ef /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 64093a35fff3a533d312604bb6ab558933b30e6a (diff) | |
download | bcm5719-llvm-41de9a9791370e9af19720664e00ff322ba526e5.tar.gz bcm5719-llvm-41de9a9791370e9af19720664e00ff322ba526e5.zip |
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/PythonDataObjects.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 16e106d2d23..1f03de892e6 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -12,11 +12,13 @@ #ifndef LLDB_DISABLE_PYTHON +// LLDB Python header must be included first +#include "lldb-python.h" + // C Includes // C++ Includes // Other libraries and framework includes // Project includes -#include "lldb-python.h" #include "lldb/Core/ConstString.h" #include "lldb/Core/Flags.h" #include "lldb/Core/StructuredData.h" |