posix/sdl: fix build

This commit is contained in:
mittorn 2020-02-08 23:38:19 +07:00
parent 51849c6140
commit 70cc52e203
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ GNU General Public License for more details.
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include "platform/platform.h"
#include "menu_int.h"

View File

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