summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-07 18:15:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-07 18:15:34 +0300
commitf86a584d8f19a06d06acaef3ad1f9d3eef4690ad (patch)
tree0c8574417ea7b77bb464e93e3395b95178e3d94f /src/utils/sdl2helper.h
parentf29d4876505fd3fd8c5d2c115e2a790409b02289 (diff)
downloadmv-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.gz
mv-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.bz2
mv-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.tar.xz
mv-f86a584d8f19a06d06acaef3ad1f9d3eef4690ad.zip
Fix compilation with SDL2.
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r--src/utils/sdl2helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 412701a02..9be1c25e5 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -24,6 +24,8 @@
#ifdef USE_SDL2
#include "utils/stringvector.h"
+#include "localconsts.h"
+
PRAGMA45(GCC diagnostic push)
PRAGMA45(GCC diagnostic ignored "-Wswitch-default")
#include <SDL_stdinc.h>
@@ -34,8 +36,6 @@ PRAGMA45(GCC diagnostic ignored "-Wswitch-default")
PRAGMA45(GCC diagnostic pop)
#include <SDL_thread.h>
-#include "localconsts.h"
-
struct SDL_Surface;
struct SDL_SysWMinfo;
struct SDL_Window;