util: #define PATH_MAX when undefined (eg. Hurd)
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 27 Feb 2019 15:08:56 +0000 (15:08 +0000)
committerEric 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

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