summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-18 18:02:24 +0000
committerrubidium <rubidium@openttd.org>2007-03-18 18:02:24 +0000
commit5171c3fbe4ad7f8f332bd68f14959788a0135cf2 (patch)
tree9221e8f869458b31c4d339af5c4581d8660c85eb
parent84d9f832c3e8ec66df7e40a484ee25880ef6fae9 (diff)
downloadopenttd-5171c3fbe4ad7f8f332bd68f14959788a0135cf2.tar.xz
(svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg).
-rw-r--r--src/fileio.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index a578d05fe..8ab41b31a 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -12,6 +12,7 @@
#include "debug.h"
#include "fios.h"
#ifndef WIN32
+#include <pwd.h>
#include <unistd.h>
#include <sys/stat.h>
#endif