diff --git a/unix.c b/unix.c --- a/unix.c +++ b/unix.c @@ -39,8 +39,11 @@ ULONG __stack = (1024*1024)*2; // maybe #endif #if defined(__APPLE__) -#include //the mac implementation needs this file included in the same file as main() -#include "os/macosx/macos.h" + #if defined(WITH_SDL) + //the mac implementation needs this file included in the same file as main() + #include + #endif + #include "os/macosx/macos.h" #endif static char *_fios_path;