From 10b0915f85543f01e82b8d145a35cf7cbe1db1a2 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 7 Jan 2014 12:37:13 +0000 Subject: Try to fix the windows build. The comments in other files don't seem to be quite accurate. =] llvm-svn: 198690 --- llvm/lib/Support/Windows/Process.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Support/Windows/Process.inc') diff --git a/llvm/lib/Support/Windows/Process.inc b/llvm/lib/Support/Windows/Process.inc index 939d350f..750097e 100644 --- a/llvm/lib/Support/Windows/Process.inc +++ b/llvm/lib/Support/Windows/Process.inc @@ -12,15 +12,16 @@ //===----------------------------------------------------------------------===// #include "llvm/Support/Allocator.h" +#include + +// The Windows.h header must be after LLVM and standard headers. +#include "Windows.h" + #include #include -#include #include #include -// The Windows.h header must be the last one included. -#include "Windows.h" - #ifdef __MINGW32__ #if (HAVE_LIBPSAPI != 1) #error "libpsapi.a should be present" -- cgit v1.1