aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/config-manager.cpp4
-rw-r--r--common/stdafx.h9
2 files changed, 4 insertions, 9 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp
index afe28a820c..8da061406b 100644
--- a/common/config-manager.cpp
+++ b/common/config-manager.cpp
@@ -29,6 +29,10 @@
DECLARE_SINGLETON(Common::ConfigManager);
+#if defined(WIN32)
+#include <windows.h>
+#endif
+
#ifdef __PLAYSTATION2__
#include "backends/platform/ps2/systemps2.h"
#endif
diff --git a/common/stdafx.h b/common/stdafx.h
index 71b48e3136..95a5e3c4ba 100644
--- a/common/stdafx.h
+++ b/common/stdafx.h
@@ -94,20 +94,11 @@
#endif
-
- #include <windows.h>
#if defined(ARRAYSIZE)
// VS2005beta2 introduces new stuff in winnt.h
#undef ARRAYSIZE
#endif
- #include <io.h>
- #include <fcntl.h>
- #include <conio.h>
- #include <mmsystem.h>
- #include <winuser.h>
- #include <direct.h>
-
#endif
#if defined(__QNXNTO__)