diff options
author | tron <tron@pkgsrc.org> | 2004-04-01 20:29:53 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-04-01 20:29:53 +0000 |
commit | 96ecbc8ae07c483e086c58d5e620ee1f27025887 (patch) | |
tree | 15d5b9390c29fb89145acc1ac5be8f3f6fb85760 /net/bind9/patches | |
parent | 5075a9fb5110a247c180947c592fd53ede1af613 (diff) | |
download | pkgsrc-96ecbc8ae07c483e086c58d5e620ee1f27025887.tar.gz |
Include "sys/param.h" before "sys/sysctl.h" (as documented) on NetBSD to
fix build failure in (at least) NetBSD 2.0B.
Diffstat (limited to 'net/bind9/patches')
-rw-r--r-- | net/bind9/patches/patch-ag | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/bind9/patches/patch-ag b/net/bind9/patches/patch-ag new file mode 100644 index 00000000000..9ae6db9c339 --- /dev/null +++ b/net/bind9/patches/patch-ag @@ -0,0 +1,14 @@ +$NetBSD: patch-ag,v 1.3 2004/04/01 20:29:53 tron Exp $ + +--- lib/isc/unix/os.c.orig 2001-08-16 08:19:58.000000000 +0200 ++++ lib/isc/unix/os.c 2004-04-01 22:22:25.000000000 +0200 +@@ -56,6 +56,9 @@ + + #if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTLBYNAME) + #include <sys/types.h> ++#ifdef __NetBSD__ ++#include <sys/param.h> ++#endif + #include <sys/sysctl.h> + + static int |