From e7062838351fc67ab63a4780a25365dac4115005 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 20 Jun 2017 18:54:43 +0300 Subject: Fix compilation with SDL2. --- src/resources/sdlimagehelper_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources') 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 @@ -41,7 +42,6 @@ PRAGMA48(GCC diagnostic pop) #include "resources/sdlimagehelper.h" - #include "debug.h" static SDL_Surface *createSoftware32BitSurface(int width, -- cgit v1.2.3-70-g09d2