diff --git a/src/Magnum/Platform/Sdl2Application.cpp b/src/Magnum/Platform/Sdl2Application.cpp index 9406d11a6..b4689078a 100644 --- a/src/Magnum/Platform/Sdl2Application.cpp +++ b/src/Magnum/Platform/Sdl2Application.cpp @@ -26,6 +26,7 @@ #include "Sdl2Application.h" #include +#include #ifndef CORRADE_TARGET_EMSCRIPTEN #include #else diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h index ffdec713a..18ef73224 100644 --- a/src/Magnum/Platform/Sdl2Application.h +++ b/src/Magnum/Platform/Sdl2Application.h @@ -46,7 +46,10 @@ #ifdef CORRADE_TARGET_WINDOWS /* Windows version of SDL2 redefines main(), we don't want that */ #define SDL_MAIN_HANDLED #endif -#include +/* SDL.h includes the world, adding 50k LOC. We don't want that either. */ +#include +#include +#include #include #ifdef CORRADE_TARGET_WINDOWS_RT