diff options
Diffstat (limited to 'lib/Support/Windows/Process.inc')
-rw-r--r-- | lib/Support/Windows/Process.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Support/Windows/Process.inc b/lib/Support/Windows/Process.inc index f9a3db9d91..939d350fb0 100644 --- a/lib/Support/Windows/Process.inc +++ b/lib/Support/Windows/Process.inc @@ -12,14 +12,15 @@ //===----------------------------------------------------------------------===// #include "llvm/Support/Allocator.h" - -#include "Windows.h" #include <direct.h> #include <io.h> #include <malloc.h> #include <psapi.h> #include <shellapi.h> +// 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" |