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:
parent
fe205818c2
commit
91cc6fcbb0
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue