2019-03-20 04:08:18 +08:00
|
|
|
diff --git a/src/Magnum/Platform/Sdl2Application.cpp b/src/Magnum/Platform/Sdl2Application.cpp
|
|
|
|
index 46ade2d00..24d8eabe7 100644
|
|
|
|
--- a/src/Magnum/Platform/Sdl2Application.cpp
|
|
|
|
+++ b/src/Magnum/Platform/Sdl2Application.cpp
|
|
|
|
@@ -26,7 +26,7 @@
|
|
|
|
#include "Sdl2Application.h"
|
|
|
|
|
|
|
|
#include <cstring>
|
|
|
|
-#include <SDL.h>
|
|
|
|
+#include <SDL2/SDL.h>
|
|
|
|
#ifndef CORRADE_TARGET_EMSCRIPTEN
|
|
|
|
#include <tuple>
|
|
|
|
#else
|
2017-06-13 17:35:54 +08:00
|
|
|
diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h
|
2019-03-20 04:08:18 +08:00
|
|
|
index 1a50b1c72..45e88edf5 100644
|
2017-06-13 17:35:54 +08:00
|
|
|
--- a/src/Magnum/Platform/Sdl2Application.h
|
|
|
|
+++ b/src/Magnum/Platform/Sdl2Application.h
|
2019-03-20 04:08:18 +08:00
|
|
|
@@ -46,13 +46,13 @@
|
2017-06-13 17:35:54 +08:00
|
|
|
#define SDL_MAIN_HANDLED
|
|
|
|
#endif
|
2019-03-20 04:08:18 +08:00
|
|
|
/* SDL.h includes the world, adding 50k LOC. We don't want that either. */
|
|
|
|
-#include <SDL_keycode.h>
|
|
|
|
-#include <SDL_mouse.h>
|
|
|
|
-#include <SDL_video.h>
|
2017-06-13 17:35:54 +08:00
|
|
|
-#include <SDL_scancode.h>
|
2019-03-20 04:08:18 +08:00
|
|
|
+#include <SDL2/SDL_keycode.h>
|
|
|
|
+#include <SDL2/SDL_mouse.h>
|
|
|
|
+#include <SDL2/SDL_video.h>
|
2017-06-13 17:35:54 +08:00
|
|
|
+#include <SDL2/SDL_scancode.h>
|
|
|
|
|
|
|
|
#ifdef CORRADE_TARGET_WINDOWS_RT
|
|
|
|
-#include <SDL_main.h> /* For SDL_WinRTRunApp */
|
|
|
|
+#include <SDL2/SDL_main.h> /* For SDL_WinRTRunApp */
|
|
|
|
#include <wrl.h> /* For the WinMain entrypoint */
|
|
|
|
#endif
|
|
|
|
|