~ubuntu-branches/ubuntu/trusty/ifmail/trusty

« back to all changes in this revision

Viewing changes to debian/patches/portability_hurd

  • Committer: Package Import Robot
  • Author(s): Marco d'Itri
  • Date: 2012-05-14 05:17:39 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120514051739-86alcr4jvx2ses6v
Tags: 2.14tx8.10-21
* Do not use perl4 modules. (Closes: #659423)
* Added support for dpkg-buildflags and hardening.
* Package converted to source format 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/iflib/lutil.h
 
2
+++ b/iflib/lutil.h
 
3
@@ -45,4 +45,13 @@ extern int optind;
 
4
 #define TCPMODE_TELNET 1       /* EMSI encapsulation through telnet */
 
5
 #define TCPMODE_BINKP  2       /* Binkp protocol */
 
6
 
 
7
+/* for the benefit of Hurd systems, which are too good to have static limits */
 
8
+#ifndef MAXHOSTNAMELEN
 
9
+#define MAXHOSTNAMELEN 64
 
10
+#endif
 
11
+
 
12
+#ifndef PATH_MAX
 
13
+#define PATH_MAX 512
 
14
+#endif
 
15
+
 
16
 #endif /* IFMAIL_LUTIL_H */