Description: make sure PATH_MAX is defined
 On gnu-hurd the PATH length is not limited so PATH_MAX is not defined.
Author: Christian T. Steigies <cts@debian.org>
Last-Update: 2011-10-07
--- a/src/gle/file_io.cpp
+++ b/src/gle/file_io.cpp
@@ -93,6 +93,11 @@
 	#endif
 #endif
 
+/* PATH_MAX is not defined on gnu-hurd */
+#ifndef PATH_MAX
+	#define PATH_MAX 8192
+#endif
+
 using namespace std;
 
 #include "tokens/stokenizer.h"
