From e1a532a15d35e7335fbf622e37fab81349a4ecf2 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 14 Jun 2018 21:25:20 +0000 Subject: [PATCH] Fix inclusion of sdl_inc.h in Duke3D's config.cpp git-svn-id: https://svn.eduke32.com/eduke32@6926 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/config.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/duke3d/src/config.cpp b/source/duke3d/src/config.cpp index b5c55bb2a..6c55db4f8 100644 --- a/source/duke3d/src/config.cpp +++ b/source/duke3d/src/config.cpp @@ -27,7 +27,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "cmdline.h" #ifdef __ANDROID__ -#include "android.h" +# include "android.h" +#endif + +#if defined RENDERTYPESDL && defined SDL_TARGET && SDL_TARGET > 1 +# include "sdl_inc.h" #endif // we load this in to get default button and key assignments @@ -133,9 +137,6 @@ void CONFIG_SetDefaultKeys(const char (*keyptr)[MAXGAMEFUNCLEN]) } } -#if defined SDL_TARGET && SDL_TARGET > 1 -# include "sdl_inc.h" -#endif void CONFIG_SetDefaults(void) {