blob: 6fdf0257ec039e800b2c6dead3741393a6f55c69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Description: Platform-specific fixes
* Define PATH_MAX, MAX_IOV for Hurd.
Author: Karl Ferdinand Ebert <kfebert@gmail.com>
Author: Romain Francoise <rfrancoise@debian.org>
Bug-Debian: http://bugs.debian.org/609333
Forwarded: not-needed
--- a/compat.h
+++ b/compat.h
@@ -289,6 +303,14 @@ void explicit_bzero(void *, size_t);
int getdtablecount(void);
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
+#ifndef IOV_MAX
+#define IOV_MAX 1024
+#endif
+
#ifndef HAVE_CLOSEFROM
/* closefrom.c */
void closefrom(int);
|