[lldb] Fix pid_t redefinition on Windows in ScriptInterpreterPythonInterfaces (#181492)
## Summary - Move `#include "lldb/Core/PluginManager.h"` after `#include "ScriptInterpreterPythonInterfaces.h"` so Python's `pyconfig.h` defines `pid_t` before `PosixApi.h` gets included. This fixes the `C2371: 'pid_t': redefinition; different basic types` error on all Windows builders. Fixes CI failures from #181334 / #181488. Co-authored-by: Rahul Reddy Chamala <rachamal@meta.com>
This commit is contained in:
parent
945db33963
commit
02aa032f6f
@ -6,7 +6,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Host/Config.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
||||
@ -14,6 +13,8 @@
|
||||
|
||||
#include "ScriptInterpreterPythonInterfaces.h"
|
||||
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user