summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2009-04-27 00:39:15 +0000
committerbjarni <bjarni@openttd.org>2009-04-27 00:39:15 +0000
commit41827de1f8e957733fcc427521a964f37b7b9207 (patch)
treebad3b893b0c9b9dde228011923e6bb28a5c5922c /src/os/macosx
parent52b95bdc96c4763d1465bac0f9165bdfe55ddf1a (diff)
downloadopenttd-41827de1f8e957733fcc427521a964f37b7b9207.tar.xz
(svn r16177) -Fix (r15892): [OSX] fixed linking error regarding _select$1050 (only present on some systems)
Diffstat (limited to 'src/os/macosx')
-rw-r--r--src/os/macosx/osx_stdafx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h
index 35cf21eee..9255ae3c0 100644
--- a/src/os/macosx/osx_stdafx.h
+++ b/src/os/macosx/osx_stdafx.h
@@ -8,6 +8,7 @@
/* We need to include this first as that "depends" on the compiler's setting
* of __LP64__. So before we define __LP64__ so it can be used. */
#include <sys/cdefs.h>
+#include <unistd.h>
/* __LP64__ only exists in 10.5 and higher */
#if defined(__APPLE__) && !defined(__LP64__)