From f86a584d8f19a06d06acaef3ad1f9d3eef4690ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 7 Feb 2017 18:15:34 +0300 Subject: Fix compilation with SDL2. --- src/utils/sdl2helper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/sdl2helper.h') 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 @@ -34,8 +36,6 @@ PRAGMA45(GCC diagnostic ignored "-Wswitch-default") PRAGMA45(GCC diagnostic pop) #include -#include "localconsts.h" - struct SDL_Surface; struct SDL_SysWMinfo; struct SDL_Window; -- cgit v1.2.3-70-g09d2