summaryrefslogtreecommitdiff
path: root/net/openntpd/files/patch-includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/openntpd/files/patch-includes.h')
-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"