From 8c68837df383bc7749d34317fd5df56dfc24f388 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 11 Aug 2016 15:31:30 +0000 Subject: [PATCH] Fix unit tests on windows Python headers need to be included before PosixApi.h llvm-svn: 278345 --- .../ScriptInterpreter/Python/PythonDataObjectsTests.cpp | 2 +- lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp index b402beed9a2d..efd169e686de 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp @@ -8,11 +8,11 @@ //===----------------------------------------------------------------------===// #include "gtest/gtest.h" +#include "Plugins/ScriptInterpreter/Python/lldb-python.h" #include "lldb/Host/File.h" #include "lldb/Host/FileSystem.h" #include "lldb/Host/HostInfo.h" -#include "Plugins/ScriptInterpreter/Python/lldb-python.h" #include "Plugins/ScriptInterpreter/Python/PythonDataObjects.h" #include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h" diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 5eb1c72598a8..0f75bf281317 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -8,9 +8,9 @@ //===----------------------------------------------------------------------===// #include "gtest/gtest.h" +#include "Plugins/ScriptInterpreter/Python/lldb-python.h" #include "lldb/Host/HostInfo.h" -#include "Plugins/ScriptInterpreter/Python/lldb-python.h" #include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h" #include "PythonTestSuite.h"