From f441313464b2eef94a41c60bfde31a2bf9c602d7 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 25 Jun 2020 17:14:47 -0700 Subject: [PATCH] [lldb/ScriptInterpreter] Fix Windows error C2371: 'pid_t': redefinition pyconfig.h(194): error C2371: 'pid_t': redefinition; different basic types PosixApi.h(82): note: see declaration of 'pid_t' --- lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 7823461..f661835 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -8,9 +8,10 @@ #include "gtest/gtest.h" +#include "Plugins/ScriptInterpreter/Python/lldb-python.h" + #include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h" #include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h" -#include "Plugins/ScriptInterpreter/Python/lldb-python.h" #include "lldb/Host/FileSystem.h" #include "lldb/Host/HostInfo.h" -- 2.7.4