summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>