X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmain.cpp;h=3907d4e66ab17f7cbcfb62a5f0ad114f51867d68;hb=06d8c72d9ebafa93f8d3bb63b00a2d0bdba61b82;hp=ac8d85d4e7a761bdf73f568ac90c19b05646edfb;hpb=fedb7355c2a369399cc781e907ac961dfa11fdd9;p=supertux.git diff --git a/src/main.cpp b/src/main.cpp index ac8d85d4e..3907d4e66 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #ifndef WIN32 #include #endif @@ -50,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;