diff options
author | Daniel Malea <daniel.malea@intel.com> | 2012-12-05 00:20:57 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2012-12-05 00:20:57 +0000 |
commit | 93a64300f8b9620213055926b194b9c5bbb10bcf (patch) | |
tree | eac133e27fff928cf91c4d2f1b7c882e9e20e736 /lldb/source/Plugins/OperatingSystem/Python | |
parent | 90ba81150ef36277659edcc880d5440bd00ba997 (diff) | |
download | bcm5719-llvm-93a64300f8b9620213055926b194b9c5bbb10bcf.tar.gz bcm5719-llvm-93a64300f8b9620213055926b194b9c5bbb10bcf.zip |
Fix Linux build warnings due to redefinition of macros:
- add new header lldb-python.h to be included before other system headers
- short term fix (eventually python dependencies must be cleaned up)
Patch by Matt Kopec!
llvm-svn: 169341
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python')
-rw-r--r-- | lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp index ca00a63a053..c13e3561a30 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp @@ -6,6 +6,9 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// + +#include "lldb/lldb-python.h" + #ifndef LLDB_DISABLE_PYTHON #include "OperatingSystemPython.h" |