diff --git a/src/sdl-instead/ioapi.h b/src/sdl-instead/ioapi.h index 8309c4c..54388a1 100644 --- a/src/sdl-instead/ioapi.h +++ b/src/sdl-instead/ioapi.h @@ -21,6 +21,10 @@ #ifndef _ZLIBIOAPI64_H #define _ZLIBIOAPI64_H +/* we need no > 2Gb games */ + +#define USE_FILE32API + #if (!defined(_WIN32)) && (!defined(WIN32)) // Linux needs this to support file operation on files larger then 4+GB diff --git a/src/sdl-instead/main.c b/src/sdl-instead/main.c index 72205ba..a5d17ae 100644 --- a/src/sdl-instead/main.c +++ b/src/sdl-instead/main.c @@ -1,3 +1,4 @@ +#include #include "externals.h" #include "internals.h" @@ -46,7 +47,7 @@ static int setup_zip(const char *file, char *p) } #endif -int main(int argc, char **argv) +int main(int argc, char *argv[]) { int clean_tmp = 0; int err = 0;