summaryrefslogtreecommitdiff
path: root/src/sdl2gfx
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-20 18:54:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-20 18:54:43 +0300
commite7062838351fc67ab63a4780a25365dac4115005 (patch)
tree1b5fdb520c7c1a3ddf8f173fab75f1502595600e /src/sdl2gfx
parent5e37f24550e133d985945bb008782df543e1f428 (diff)
downloadmanaplus-e7062838351fc67ab63a4780a25365dac4115005.tar.gz
manaplus-e7062838351fc67ab63a4780a25365dac4115005.tar.bz2
manaplus-e7062838351fc67ab63a4780a25365dac4115005.tar.xz
manaplus-e7062838351fc67ab63a4780a25365dac4115005.zip
Fix compilation with SDL2.
Diffstat (limited to 'src/sdl2gfx')
-rw-r--r--src/sdl2gfx/SDL2_framerate.h2
-rw-r--r--src/sdl2gfx/SDL2_rotozoom.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/sdl2gfx/SDL2_framerate.h b/src/sdl2gfx/SDL2_framerate.h
index 271c4b986..4361b1f60 100644
--- a/src/sdl2gfx/SDL2_framerate.h
+++ b/src/sdl2gfx/SDL2_framerate.h
@@ -38,6 +38,8 @@ extern "C"
/* --- */
+#include "localconsts.h"
+
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL.h>
diff --git a/src/sdl2gfx/SDL2_rotozoom.h b/src/sdl2gfx/SDL2_rotozoom.h
index 07587c58c..3ae52888e 100644
--- a/src/sdl2gfx/SDL2_rotozoom.h
+++ b/src/sdl2gfx/SDL2_rotozoom.h
@@ -42,6 +42,8 @@ extern "C"
#define M_PI 3.1415926535897932384626433832795
#endif
+#include "localconsts.h"
+
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL.h>