aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorNicola Mettifogo2007-03-09 00:13:07 +0000
committerNicola Mettifogo2007-03-09 00:13:07 +0000
commit1e985051a9b24eb8efaca590d59b5e95aec600d9 (patch)
tree40883c5f2b4cc7f88a8dd03e995c7dba80e7d96c /backends
parenta3c2c1f413049fd9d0e92f89b37b37755b6b5105 (diff)
downloadscummvm-rg350-1e985051a9b24eb8efaca590d59b5e95aec600d9.tar.gz
scummvm-rg350-1e985051a9b24eb8efaca590d59b5e95aec600d9.tar.bz2
scummvm-rg350-1e985051a9b24eb8efaca590d59b5e95aec600d9.zip
reduced dependency from windows-specific header files
svn-id: r26034
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/windows.cpp3
-rw-r--r--backends/platform/sdl/sdl.cpp4
2 files changed, 7 insertions, 0 deletions
diff --git a/backends/midi/windows.cpp b/backends/midi/windows.cpp
index c93468a35a..3aed1a8b37 100644
--- a/backends/midi/windows.cpp
+++ b/backends/midi/windows.cpp
@@ -21,6 +21,9 @@
#if defined(WIN32) && !defined(_WIN32_WCE)
+
+#include <windows.h>
+#include <mmsystem.h>
#include "common/stdafx.h"
#include "sound/mpu401.h"
#include "common/util.h"
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 1835f70f25..ee43d2ee26 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -33,6 +33,10 @@
#include "icons/scummvm.xpm"
+#if defined(WIN32)
+#include <windows.h>
+#endif
+
#if defined(__SYMBIAN32__)
#include "SymbianOs.h"
#endif