From 384b284846584cbfd5f696009236b5bae073ba17 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 24 Jul 2005 10:39:12 +0000 Subject: [PATCH] (svn r2699) Hopefully fix the compilation on Windows when SDL is not present --- win32.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/win32.c b/win32.c index 25310a405e..e5403abdea 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__)