summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2007-02-20 09:46:10 +0000
committerDarkvater <Darkvater@openttd.org>2007-02-20 09:46:10 +0000
commitfa16e74d01d8d7623259c468d813adc03583938d (patch)
tree4a6e386bcc81a0d19f80cbdff746167d94b1498f /src/newgrf_config.cpp
parent27f48c5ddacac109a66c8489c94abe4d8623348e (diff)
downloadopenttd-fa16e74d01d8d7623259c468d813adc03583938d.tar.xz
(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium)
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index 6b13ecc2e..fce274a87 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -16,14 +16,10 @@
#include "fileio.h"
#include "fios.h"
-#include <sys/types.h>
#include <sys/stat.h>
#ifdef WIN32
# include <io.h>
-#else
-# include <unistd.h>
-# include <dirent.h>
#endif /* WIN32 */