summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-07-28 08:45:57 +0000
committerbjarni <bjarni@openttd.org>2005-07-28 08:45:57 +0000
commit2f2775323fde1ac7307c069621bda024eb16fafb (patch)
tree595c7e6ec4815197b78ec046cc7789b776e3bea2 /unix.c
parent1e67dfffe7523043855bd200b693b7cbc2309d1a (diff)
downloadopenttd-2f2775323fde1ac7307c069621bda024eb16fafb.tar.xz
(svn r2733) -Fix: [OSX] solved include issue introduced in 2714, which prevented OSX from opening a window to run the game in (sdl.h was not included anymore)
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix.c b/unix.c
index 1a6104a40..e926dca27 100644
--- a/unix.c
+++ b/unix.c
@@ -39,6 +39,7 @@ ULONG __stack = (1024*1024)*2; // maybe not that much is needed actually ;)
#endif
#if defined(__APPLE__)
+#include <SDL.h> //the mac implementation needs this file included in the same file as main()
#include "os/macosx/macos.h"
#endif