projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe20581
)
util: #define PATH_MAX when undefined (eg. Hurd)
author
Eric Engestrom
<eric.engestrom@intel.com>
Wed, 27 Feb 2019 15:08:56 +0000
(15:08 +0000)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Tue, 5 Mar 2019 12:27:35 +0000
(12:27 +0000)
Cc: Timo Aaltonen <tjaalton@debian.org>
Cc: James Clarke <jrtc27@debian.org>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/xmlconfig.c
patch
|
blob
|
history
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