From 70cc52e203e2c6e344f12c18c822e87ad59484bd Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 8 Feb 2020 23:38:19 +0700 Subject: [PATCH] posix/sdl: fix build --- engine/platform/posix/sys_posix.c | 1 + engine/platform/sdl/sys_sdl.c | 1 + 2 files changed, 2 insertions(+) diff --git a/engine/platform/posix/sys_posix.c b/engine/platform/posix/sys_posix.c index f766c21c..8ae7879c 100644 --- a/engine/platform/posix/sys_posix.c +++ b/engine/platform/posix/sys_posix.c @@ -17,6 +17,7 @@ GNU General Public License for more details. #include #include #include +#include #include "platform/platform.h" #include "menu_int.h" diff --git a/engine/platform/sdl/sys_sdl.c b/engine/platform/sdl/sys_sdl.c index 68bc450e..a82e49c2 100644 --- a/engine/platform/sdl/sys_sdl.c +++ b/engine/platform/sdl/sys_sdl.c @@ -49,6 +49,7 @@ void Platform_Init( void ) { #ifndef SDL_INIT_EVENTS #define SDL_INIT_EVENTS 0 +#endif if( SDL_Init( SDL_INIT_TIMER | SDL_INIT_VIDEO | SDL_INIT_EVENTS ) ) {