Description: define PATH_MAX
 On gnu-hurd PATH_MAX is not defined. Set PATH_MAX to 8192 if
 it is not defined as recommended here:
 http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00025.html
 .
 The person named in the Author field signed this changelog entry.
Author: Christian T. Steigies <cts@debian.org>
Last-Update: 2007-08-06

--- a/src/fs.c
+++ b/src/fs.c
@@ -36,6 +36,11 @@
 #include "fs.h"
 #include "lcmap.h"
 
+/* PATH_MAX is not defined on gnu-hurd */
+#ifndef PATH_MAX
+# define PATH_MAX 8192
+#endif
+
 /* Paths */
 #ifndef WIN32
 #define LEVEL_PATH "/levels/"
--- a/src/levelfile.c
+++ b/src/levelfile.c
@@ -34,6 +34,11 @@
 #include "game.h"
 #include "font.h"
 
+/* PATH_MAX is not defined on gnu-hurd */
+#ifndef PATH_MAX
+# define PATH_MAX 8192
+#endif
+
 /* Open level for reading */
 int open_level(struct LevelFile *level) {
     if(level->ldat) {
