diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-02-19 21:08:22 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2025-02-19 21:09:32 -0800 |
commit | 57bac14f4bcc8b43edc3e27be3d93609f7f4037b (patch) | |
tree | 5de9da2789141a0aad297c1d67a77ea8a5c57442 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 62e4436bb80b82c836fb747b391696700f089e6b (diff) | |
download | llvm-57bac14f4bcc8b43edc3e27be3d93609f7f4037b.zip llvm-57bac14f4bcc8b43edc3e27be3d93609f7f4037b.tar.gz llvm-57bac14f4bcc8b43edc3e27be3d93609f7f4037b.tar.bz2 |
[lldb] Fix header include order in ScriptInterpreterPython.cpp
Should fix the following compile error on Windows:
C:\Python312\include\pyconfig.h(225): error C2371: 'pid_t': redefinition; different basic types
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\include\lldb/Host/windows/PosixApi.h(80): note: see declaration of 'pid_t'
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index 2b92bea..00d0198 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -7,10 +7,6 @@ //===----------------------------------------------------------------------===// #include "lldb/Host/Config.h" -#include "lldb/Host/StreamFile.h" -#include "lldb/lldb-enumerations.h" -#include "lldb/lldb-forward.h" -#include <locale> #if LLDB_ENABLE_PYTHON @@ -36,6 +32,7 @@ #include "lldb/Host/FileSystem.h" #include "lldb/Host/HostInfo.h" #include "lldb/Host/Pipe.h" +#include "lldb/Host/StreamFile.h" #include "lldb/Interpreter/CommandInterpreter.h" #include "lldb/Interpreter/CommandReturnObject.h" #include "lldb/Target/Thread.h" @@ -44,6 +41,8 @@ #include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/Timer.h" #include "lldb/ValueObject/ValueObject.h" +#include "lldb/lldb-enumerations.h" +#include "lldb/lldb-forward.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Error.h" |