summaryrefslogtreecommitdiff
path: root/src/pch.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2023-07-09 21:32:30 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2023-07-09 21:32:30 +0200
commit9ddde468eadc36ba1edae7d5e9448f866253ca66 (patch)
treea55cd2795237cc248a33e70b596f25deaf2c3254 /src/pch.h
parent26d32db43611d37ac0c439d052fcbbac5e5aa0ab (diff)
Fix order of includes in pch.h.
Diffstat (limited to 'src/pch.h')
-rw-r--r--src/pch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pch.h b/src/pch.h
index 8fb021a2..a5bb4fb7 100644
--- a/src/pch.h
+++ b/src/pch.h
@@ -31,13 +31,16 @@
#include <vector>
#include <wchar.h>
+// keep this header separated to avoid ordering issue since this must be
+// included before DbgHelp.h
+#include <Windows.h>
+
// windows
#include <DbgHelp.h>
#include <LMCons.h>
#include <Psapi.h>
#include <Shellapi.h>
#include <Shlwapi.h>
-#include <Windows.h>
#include <eh.h>
#include <shlobj.h>
#include <tchar.h>