blob: da80024f08fe2dda412b853da919aa4680be3f97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
@@ -31,6 +31,11 @@
#include <libHX/string.h>
#include "internal.h"
+#ifndef PATH_MAX
+#define PATH_MAX 4096 /* Hurd does not define PATH_MAX in limits.h */
+#endif
+
+
struct HXdir {
#if defined _WIN32
char *dname;
|