X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmain.cpp;h=3907d4e66ab17f7cbcfb62a5f0ad114f51867d68;hb=eb87b07de097463cf91cf76be9bbc6b9fc0cad98;hp=8c3d7f8fb3d24f8d2d85b1782f0a3ad6f9b57e69;hpb=60908c905544776c376421b8d3e12eeb936c068f;p=supertux.git diff --git a/src/main.cpp b/src/main.cpp index 8c3d7f8fb..3907d4e66 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,6 +18,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. #include +#include #include "main.h" @@ -30,6 +31,7 @@ #include #include #include +#include #ifndef WIN32 #include #endif @@ -49,6 +51,10 @@ #include "game_session.h" #include "file_system.h" +#ifdef WIN32 +#define mkdir(dir, mode) mkdir(dir) +#endif + SDL_Surface* screen = 0; JoystickKeyboardController* main_controller = 0; TinyGetText::DictionaryManager dictionary_manager;