util: #define PATH_MAX when undefined (eg. Hurd)

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>
This commit is contained in:
Eric Engestrom 2019-02-27 15:08:56 +00:00
parent fe205818c2
commit 91cc6fcbb0

View file

@ -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