util: #define PATH_MAX when undefined (eg. Hurd)
[mesa.git] / src / util / xmlconfig.c
index 5907c68012e774c4c20551ba0ec30c7a2fa7f979..5d218eeb927fc19f14f906e0abf3a8a0634b61da 100644 (file)
 #include "xmlconfig.h"
 #include "u_process.h"
 
+/* For systems like Hurd */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
 
 /** \brief Find an option in an option cache with the name as key */
 static uint32_t