summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Vila <sanvila@unex.es>2003-10-30 01:53:41 +0100
committerCarlos Maddela <e7appew@gmail.com>2018-12-29 12:17:20 +0000
commit4d8ede362aba06e683bc38a424dc49da44dee114 (patch)
treeff5b03f383db431bb7ca5297151dcfbf8bf209b9
parent7793184e876b4b436285022cc6239ac0b305c8a2 (diff)
Define a fallback value for PATH_MAX on GNU/Hurd.
Description: Define a fallback value for PATH_MAX on GNU/Hurd. Author: Santiago Vila <sanvila@unex.es> Bug-Debian: https://bugs.debian.org/218335 Gbp-Pq: Name hurd_path_max.patch
-rw-r--r--src/hexedit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hexedit.h b/src/hexedit.h
index 064db93..d60e89c 100644
--- a/src/hexedit.h
+++ b/src/hexedit.h
@@ -33,6 +33,9 @@
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
#ifdef STDC_HEADERS
#include <stdlib.h>