posix/sdl: fix build
This commit is contained in:
parent
51849c6140
commit
70cc52e203
2 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue