diff options
author | tron <tron> | 2004-04-01 20:29:53 +0000 |
---|---|---|
committer | tron <tron> | 2004-04-01 20:29:53 +0000 |
commit | 6e97221e2d729250e59fbd689296ed14cd4521ac (patch) | |
tree | 15d5b9390c29fb89145acc1ac5be8f3f6fb85760 /net/bind9/patches | |
parent | 4a9b8367f1a822568655160b2d26312fcaad2586 (diff) | |
download | pkgsrc-6e97221e2d729250e59fbd689296ed14cd4521ac.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 |