blob: 05994a76136a2e6b3d7de80b686556cee2eb8933 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Description: Add missing define of PATH_MAX for hurd.
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;
|