projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: #define PATH_MAX when undefined (eg. Hurd)
[mesa.git]
/
src
/
util
/
xmlconfig.c
diff --git
a/src/util/xmlconfig.c
b/src/util/xmlconfig.c
index 5907c68012e774c4c20551ba0ec30c7a2fa7f979..5d218eeb927fc19f14f906e0abf3a8a0634b61da 100644
(file)
--- a/
src/util/xmlconfig.c
+++ b/
src/util/xmlconfig.c
@@
-42,6
+42,10
@@
#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