diff options
author | Eric Engestrom <[email protected]> | 2019-02-27 15:08:56 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-03-05 12:27:35 +0000 |
commit | 91cc6fcbb050423823ff4262cf860a34d20f504e (patch) | |
tree | 1f45c15e69bb6a2a4259b4836e448e89802df95c /src | |
parent | fe205818c243528924c1beca5dfeef5f81495401 (diff) |
util: #define PATH_MAX when undefined (eg. Hurd)
Cc: Timo Aaltonen <[email protected]>
Cc: James Clarke <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/util/xmlconfig.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/xmlconfig.c b/src/util/xmlconfig.c index 5907c68012e..5d218eeb927 100644 --- 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 |