be quite accurate. =]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198690
91177308-0d34-0410-b5e6-
96231b3b80d8
//===----------------------------------------------------------------------===//
#include "llvm/Support/Allocator.h"
+#include <malloc.h>
+
+// The Windows.h header must be after LLVM and standard headers.
+#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"
#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
#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")