[lldb/Plugins] Fix build failure on windows following 2914a4b888
This patch tries to fix the following build failure on windows:
https://lab.llvm.org/buildbot/#/builders/141/builds/1083
This started happening following 2914a4b888, and it seems to be caused
by some special `#include` ordering for the lldb-python header on Windows.
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
This commit is contained in:
@@ -6,14 +6,19 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if LLDB_ENABLE_PYTHON
|
||||
|
||||
// clang-format off
|
||||
// LLDB Python header must be included first
|
||||
#include "../../lldb-python.h"
|
||||
//clang-format on
|
||||
#endif
|
||||
|
||||
#include "lldb/Host/Config.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
||||
#if LLDB_ENABLE_PYTHON
|
||||
|
||||
// LLDB Python header must be included first
|
||||
#include "lldb-python.h"
|
||||
|
||||
#include "Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.h"
|
||||
#include "Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h"
|
||||
#include "Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h"
|
||||
|
||||
Reference in New Issue
Block a user