diff options
author | bjarni <bjarni@openttd.org> | 2009-04-27 00:39:15 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2009-04-27 00:39:15 +0000 |
commit | 41827de1f8e957733fcc427521a964f37b7b9207 (patch) | |
tree | bad3b893b0c9b9dde228011923e6bb28a5c5922c | |
parent | 52b95bdc96c4763d1465bac0f9165bdfe55ddf1a (diff) | |
download | openttd-41827de1f8e957733fcc427521a964f37b7b9207.tar.xz |
(svn r16177) -Fix (r15892): [OSX] fixed linking error regarding _select$1050 (only present on some systems)
-rw-r--r-- | src/os/macosx/osx_stdafx.h | 1 |
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__) |