diff options
author | naddy <naddy@FreeBSD.org> | 2004-07-12 20:35:48 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2004-07-12 20:35:48 +0800 |
commit | 3dcc82fb218d57ca8b9e1be2faac0bbb51e6c7ba (patch) | |
tree | 05970851d1db882f82474310c770813757fa6dee /net/openntpd | |
parent | 97aad66c9c725be0d34fdc42ed5e45bf0148d49c (diff) | |
download | freebsd-ports-gnome-3dcc82fb218d57ca8b9e1be2faac0bbb51e6c7ba.tar.gz freebsd-ports-gnome-3dcc82fb218d57ca8b9e1be2faac0bbb51e6c7ba.tar.zst freebsd-ports-gnome-3dcc82fb218d57ca8b9e1be2faac0bbb51e6c7ba.zip |
Kludge for missing IOV_MAX on 4.x.
Diffstat (limited to 'net/openntpd')
-rw-r--r-- | net/openntpd/files/patch-includes.h | 18 |
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" |