diff options
Diffstat (limited to 'llvm/lib/Support/Windows/Signals.inc')
-rw-r--r-- | llvm/lib/Support/Windows/Signals.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/Windows/Signals.inc b/llvm/lib/Support/Windows/Signals.inc index 2997199f117..5add76a0c03 100644 --- a/llvm/lib/Support/Windows/Signals.inc +++ b/llvm/lib/Support/Windows/Signals.inc @@ -16,6 +16,9 @@ #include <stdio.h> #include <vector> +// The Windows.h header must be after LLVM and standard headers. +#include "Windows.h" + #ifdef __MINGW32__ #include <imagehlp.h> #else @@ -23,9 +26,6 @@ #endif #include <psapi.h> -// The Windows.h header must be the last one included. -#include "Windows.h" - #ifdef _MSC_VER #pragma comment(lib, "psapi.lib") #pragma comment(lib, "dbghelp.lib") |