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
@@ -294,6 +294,14 @@
int getdtablesize(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);
|