summaryrefslogtreecommitdiff
path: root/debian/patches/hurd-path-max-define
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hurd-path-max-define')
-rw-r--r--debian/patches/hurd-path-max-define6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/hurd-path-max-define b/debian/patches/hurd-path-max-define
index da80024..d6b0cdb 100644
--- a/debian/patches/hurd-path-max-define
+++ b/debian/patches/hurd-path-max-define
@@ -7,9 +7,9 @@ Index: trunk/src/io.c
===================================================================
--- trunk.orig/src/io.c
+++ trunk/src/io.c
-@@ -31,6 +31,11 @@
- #include <libHX/string.h>
- #include "internal.h"
+@@ -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 */