File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1212// ===----------------------------------------------------------------------===//
1313
1414#include " llvm/Support/Allocator.h"
15+ #include < malloc.h>
16+
17+ // The Windows.h header must be after LLVM and standard headers.
18+ #include " Windows.h"
19+
1520#include < direct.h>
1621#include < io.h>
17- #include < malloc.h>
1822#include < psapi.h>
1923#include < shellapi.h>
2024
21- // The Windows.h header must be the last one included.
22- #include " Windows.h"
23-
2425#ifdef __MINGW32__
2526 #if (HAVE_LIBPSAPI != 1)
2627 #error "libpsapi.a should be present"
Original file line number Diff line number Diff line change 1616#include < stdio.h>
1717#include < vector>
1818
19+ // The Windows.h header must be after LLVM and standard headers.
20+ #include " Windows.h"
21+
1922#ifdef __MINGW32__
2023 #include < imagehlp.h>
2124#else
2225 #include < dbghelp.h>
2326#endif
2427#include < psapi.h>
2528
26- // The Windows.h header must be the last one included.
27- #include " Windows.h"
28-
2929#ifdef _MSC_VER
3030 #pragma comment(lib, "psapi.lib")
3131 #pragma comment(lib, "dbghelp.lib")
You can’t perform that action at this time.
0 commit comments