diff options
author | rubidium <rubidium@openttd.org> | 2010-05-18 21:17:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-18 21:17:25 +0000 |
commit | 2de9e2d16b058971bf22e18062fc26278098dfb0 (patch) | |
tree | 8640104e4d0da4f42730c487eb227688807ca1e3 /src/os | |
parent | 354645cd0af62605030514c66bfa59795fe999b9 (diff) | |
download | openttd-2de9e2d16b058971bf22e18062fc26278098dfb0.tar.xz |
(svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version with the same effect
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/unix/crashlog_unix.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp index ee86cb5ee..5f17fafdb 100644 --- a/src/os/unix/crashlog_unix.cpp +++ b/src/os/unix/crashlog_unix.cpp @@ -27,6 +27,10 @@ # include <dlfcn.h> #endif +#if defined(__NetBSD__) +#include <unistd.h> +#endif + /** * Unix implementation for the crash logger. */ |