summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Misc.cpp')
-rw-r--r--Source/Core/Common/Misc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Misc.cpp b/Source/Core/Common/Misc.cpp
index 870294092c..69ff018471 100644
--- a/Source/Core/Common/Misc.cpp
+++ b/Source/Core/Common/Misc.cpp
@@ -8,6 +8,10 @@
#include "Common/CommonFuncs.h"
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
// Generic function to get last error message.
// Call directly after the command or use the error num.
// This function might change the error code.