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 ) ) {