summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-08-04 20:04:58 +0000
committersmatz <smatz@openttd.org>2011-08-04 20:04:58 +0000
commit564dc66131d0d58246bdbb7448328ebe21e6966c (patch)
treef2ae6e885e8593c3fd47bb7761180d6a296263ad /src
parent92dd3bb0e24162d34b39a334e2b8d764c9335f36 (diff)
downloadopenttd-564dc66131d0d58246bdbb7448328ebe21e6966c.tar.xz
(svn r22719) -Fix: compilation with gcc 4.7
Diffstat (limited to 'src')
-rw-r--r--src/fileio.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index d4eab410c..2215f3705 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -22,9 +22,7 @@
#include <Path.h>
#include <storage/FindDirectory.h>
#else
-#if defined(OPENBSD) || defined(DOS)
#include <unistd.h>
-#endif
#include <pwd.h>
#endif
#include <sys/stat.h>