aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2004-07-12 12:35:48 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2004-07-12 12:35:48 +0000
commit3edc61c2e4242d02da73693a952a390410c8c469 (patch)
tree60951ad4971684dc07c4fe067b84194da0d21767 /net
parent25587e564271c51f520ded63884795e9c7098601 (diff)
downloadports-3edc61c2e4242d02da73693a952a390410c8c469.tar.gz
ports-3edc61c2e4242d02da73693a952a390410c8c469.zip
Kludge for missing IOV_MAX on 4.x.
Notes
Notes: svn path=/head/; revision=113464
Diffstat (limited to 'net')
-rw-r--r--net/openntpd/files/patch-includes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/openntpd/files/patch-includes.h b/net/openntpd/files/patch-includes.h
new file mode 100644
index 000000000000..a4ac89aa37ba
--- /dev/null
+++ b/net/openntpd/files/patch-includes.h
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- includes.h.orig Sun Jul 11 07:31:31 2004
++++ includes.h Mon Jul 12 14:25:37 2004
+@@ -20,8 +20,12 @@
+ # include <stdio.h>
+
+ #ifndef IOV_MAX
++#if defined(__FreeBSD__)
++# define IOV_MAX 1024
++#else
+ # define __need_IOV_MAX
+ # include <bits/stdio_lim.h>
++#endif
+ #endif
+
+ #include "defines.h"