]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
include <sys/param.h> for NetBSD
authorMichael Graff <mgraff@isc.org>
Wed, 12 May 2004 23:01:36 +0000 (23:01 +0000)
committerMichael Graff <mgraff@isc.org>
Wed, 12 May 2004 23:01:36 +0000 (23:01 +0000)
lib/isc/unix/os.c

index 7e209531dc3c5d986b38eb5d845620467d9d7b67..d3449382833c29dfe219befb7878251d64b37a50 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.c,v 1.13 2004/03/05 05:11:46 marka Exp $ */
+/* $Id: os.c,v 1.14 2004/05/12 23:01:36 explorer Exp $ */
 
 #include <config.h>
 
@@ -55,7 +55,8 @@ hpux_ncpus(void) {
 #endif /* __hpux */
 
 #if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTLBYNAME)
-#include <sys/types.h>
+#include <sys/types.h>  /* for FreeBSD */
+#include <sys/param.h>  /* for NetBSD */
 #include <sys/sysctl.h>
 
 static int