summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/win32.c b/win32.c
index 25310a405..e5403abde 100644
--- a/win32.c
+++ b/win32.c
@@ -23,14 +23,17 @@
#include "music/win32_m.h"
#include "sound/null_s.h"
-#include "sound/sdl_s.h"
#include "sound/win32_s.h"
#include "video/dedicated_v.h"
#include "video/null_v.h"
-#include "video/sdl_v.h"
#include "video/win32_v.h"
+#ifdef WITH_SDL
+ #include "sound/sdl_s.h"
+ #include "video/sdl_v.h"
+#endif
+
static bool _has_console;
#if defined(__MINGW32__) || defined(__CYGWIN__)