Author: Jonas Devlieghere Date: 2020-06-25T17:15:29-07:00 New Revision: f441313464b2eef94a41c60bfde31a2bf9c602d7
URL: https://github.com/llvm/llvm-project/commit/f441313464b2eef94a41c60bfde31a2bf9c602d7 DIFF: https://github.com/llvm/llvm-project/commit/f441313464b2eef94a41c60bfde31a2bf9c602d7.diff LOG: [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' Added: Modified: lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp Removed: ################################################################################ diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 78234612500b..f661835d191b 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" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits