File: portability_hurd

package info (click to toggle)
ifmail 2.14tx8.10-27
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,912 kB
  • sloc: ansic: 30,327; perl: 4,955; yacc: 838; makefile: 716; sh: 424; cpp: 235; lex: 206; awk: 24
file content (16 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/iflib/lutil.h
+++ b/iflib/lutil.h
@@ -45,4 +45,13 @@ extern int optind;
 #define TCPMODE_TELNET	1	/* EMSI encapsulation through telnet */
 #define TCPMODE_BINKP	2	/* Binkp protocol */
 
+/* for the benefit of Hurd systems, which are too good to have static limits */
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 64
+#endif
+
+#ifndef PATH_MAX
+#define PATH_MAX 512
+#endif
+
 #endif /* IFMAIL_LUTIL_H */