diff options
Diffstat (limited to 'debian/patches/hurd-path-max-define')
-rw-r--r-- | debian/patches/hurd-path-max-define | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/hurd-path-max-define b/debian/patches/hurd-path-max-define new file mode 100644 index 0000000..d6b0cdb --- /dev/null +++ b/debian/patches/hurd-path-max-define @@ -0,0 +1,21 @@ +Description: Add missing define of PATH_MAX for hurd. +Forwarded: not-needed +Last-Update: 2015-02-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/src/io.c +=================================================================== +--- trunk.orig/src/io.c ++++ trunk/src/io.c +@@ -39,6 +39,11 @@ + # define O_CLOEXEC 0 + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 /* Hurd does not define PATH_MAX in limits.h */ ++#endif ++ ++ + struct HXdir { + #if defined _WIN32 + char *dname; |