]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
include sys/sysctl.h only if HAVE_SYS_SYSCTL_H is defined.
authorTatuya JINMEI 神明達哉 <jinmei@isc.org>
Tue, 24 Jun 2008 01:43:40 +0000 (01:43 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Tue, 24 Jun 2008 01:43:40 +0000 (01:43 +0000)
lib/isc/unix/net.c

index 386eae01b30794eeefea382fdc7e81449591e3ba..1daa2cbbf9a60b9e175fadcb96e9e8287572bfa8 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.c,v 1.36.60.1 2008/06/24 00:09:12 jinmei Exp $ */
+/* $Id: net.c,v 1.36.60.2 2008/06/24 01:43:40 jinmei Exp $ */
 
 #include <config.h>
 
 #include <sys/types.h>
+#ifdef HAVE_SYS_SYSCTL_H
 #include <sys/sysctl.h>
+#endif
 
 #include <errno.h>
 #include <unistd.h>