From 93a64300f8b9620213055926b194b9c5bbb10bcf Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Wed, 5 Dec 2012 00:20:57 +0000 Subject: 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 --- lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/source/Plugins/OperatingSystem/Python') 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" -- cgit v1.2.3