summaryrefslogtreecommitdiff
path: root/src/resources/sdlimagehelper_unittest.cc
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/resources/sdlimagehelper_unittest.cc
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/resources/sdlimagehelper_unittest.cc')
-rw-r--r--src/resources/sdlimagehelper_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdlimagehelper_unittest.cc b/src/resources/sdlimagehelper_unittest.cc
index a71c6a21f..517054b1b 100644
--- a/src/resources/sdlimagehelper_unittest.cc
+++ b/src/resources/sdlimagehelper_unittest.cc
@@ -19,6 +19,7 @@
*/
#ifndef USE_SDL2
+#include "localconsts.h"
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_endian.h>
@@ -41,7 +42,6 @@ PRAGMA48(GCC diagnostic pop)
#include "resources/sdlimagehelper.h"
-
#include "debug.h"
static SDL_Surface *createSoftware32BitSurface(int width,