Author: Enrico Tassi <gareuselesinge@debian.org>
Description: define PATH_MAX if not defined (i.e. on hurd)

---
 src/io/filesystem/filesystem.cc |    4 ++++
 src/wlapplication.cc            |    4 ++++
 2 files changed, 8 insertions(+)

Index: b/src/io/filesystem/filesystem.cc
===================================================================
--- a/src/io/filesystem/filesystem.cc
+++ b/src/io/filesystem/filesystem.cc
@@ -60,6 +60,10 @@
 #define PATH_MAX MAX_PATH
 #endif
 
+#ifndef PATH_MAX
+ #define PATH_MAX 1024
+#endif
+
 FileSystem::FileSystem()
 {
 	m_root = "";
Index: b/src/wlapplication.cc
===================================================================
--- a/src/wlapplication.cc
+++ b/src/wlapplication.cc
@@ -92,6 +92,10 @@
 #endif
 #endif
 
+#ifndef PATH_MAX
+ #define PATH_MAX 1024
+#endif
+
 #define MINIMUM_DISK_SPACE 250000000lu
 #define SCREENSHOT_DIR "screenshots"
 
