# HG changeset patch # User bjarni # Date 2005-07-28 09:01:41 # Node ID 089efffabecdc24309d46a5c34b5920c3c5d7578 # Parent ed8d0dd67dceb93f3de4dcf5f6ec2b6584921632 (svn r2735) -Fix: [OSX] fixed issue introduced in 2733 where dedicated servers on OSX included sdl.h even when WITH_SDL was not defined (oops) 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;