summaryrefslogtreecommitdiff
path: root/src/depend
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-31 15:26:07 +0000
committerrubidium <rubidium@openttd.org>2009-10-31 15:26:07 +0000
commitc2c0d1e5d437b690b87333581fb24357c7db7876 (patch)
tree39cdab5478e4609a8d9e1627b8ec1c79f3e5bcb8 /src/depend
parent86fd0c0bcefd51d4e173ea1287d0b447b2410bfe (diff)
downloadopenttd-c2c0d1e5d437b690b87333581fb24357c7db7876.tar.xz
(svn r17923) -Feature: "port" OpenTTD to GNU/Hurd
Diffstat (limited to 'src/depend')
-rw-r--r--src/depend/depend.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/depend/depend.cpp b/src/depend/depend.cpp
index 8510f0ecd..7da5fecbb 100644
--- a/src/depend/depend.cpp
+++ b/src/depend/depend.cpp
@@ -30,6 +30,10 @@
#include <set>
#include <stack>
+#ifndef PATH_MAX
+# define PATH_MAX 260
+#endif
+
/** Simple string comparator using strcmp as implementation */
struct StringCompare {
/**