diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/sdl/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/sdl/main.cpp b/backends/platform/sdl/main.cpp index b38b815438..07b443fe34 100644 --- a/backends/platform/sdl/main.cpp +++ b/backends/platform/sdl/main.cpp @@ -31,6 +31,11 @@ #include <windows.h> // winnt.h defines ARRAYSIZE, but we want our own one... #undef ARRAYSIZE + +// FIXME/UGLY HACK: We need to include "SDL.h" before "scummsys.h" +// since "scummsys.h" checks for SDL_COMPILEDVERSION to decide +// whether it should define uint32_t / int32_t or not. +#include <SDL.h> #endif #include "common/scummsys.h" |