diff --git a/src/system.h b/src/system.h index 1341b83..dfe29df 100644 --- a/src/system.h +++ b/src/system.h @@ -3,12 +3,17 @@ #include "config.h" +#if defined _WIN32 || defined __CYGWIN__ +#define SDL_MAIN_HANDLED +#endif + +#include +#include + #include #include #include #include -#include -#include #include #include "log.h"