From: Mark Andrews Date: Wed, 16 Mar 2005 01:23:08 +0000 (+0000) Subject: 1816. [port] UnixWare: failed to compile lib/isc/unix/net.c. X-Git-Tag: v9.2.6b1~137^2~54 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4f082b58b17ce39087930d5affc2ada90ef386e6;p=thirdparty%2Fbind9.git 1816. [port] UnixWare: failed to compile lib/isc/unix/net.c. [RT #13597] --- diff --git a/CHANGES b/CHANGES index 0c5fe12f5a3..8dbadbc16ad 100644 --- a/CHANGES +++ b/CHANGES @@ -35,7 +35,8 @@ 1817. [placeholder] rt13587 -1816. [placeholder] rt13597 +1816. [port] UnixWare: failed to compile lib/isc/unix/net.c. + [RT #13597] 1815. [bug] nsupdate triggered a REQUIRE if the server was set without also setting the zone and it encountered diff --git a/lib/isc/unix/net.c b/lib/isc/unix/net.c index e7f067bdfae..b6c0cf74bae 100644 --- a/lib/isc/unix/net.c +++ b/lib/isc/unix/net.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: net.c,v 1.32 2005/02/24 00:33:34 marka Exp $ */ +/* $Id: net.c,v 1.33 2005/03/16 01:23:08 marka Exp $ */ #include @@ -247,6 +247,7 @@ initialize_ipv6only(void) { } #endif /* IPV6_V6ONLY */ +#ifdef ISC_PLATFORM_HAVEIN6PKTINFO static void try_ipv6pktinfo(void) { int s, on; @@ -299,6 +300,7 @@ initialize_ipv6pktinfo(void) { RUNTIME_CHECK(isc_once_do(&once_ipv6pktinfo, try_ipv6pktinfo) == ISC_R_SUCCESS); } +#endif /* ISC_PLATFORM_HAVEIN6PKTINFO */ #endif /* WANT_IPV6 */ isc_result_t @@ -316,11 +318,13 @@ isc_net_probe_ipv6only(void) { isc_result_t isc_net_probe_ipv6pktinfo(void) { #ifdef ISC_PLATFORM_HAVEIPV6 +#ifdef ISC_PLATFORM_HAVEIN6PKTINFO #ifdef WANT_IPV6 initialize_ipv6pktinfo(); #else ipv6pktinfo_result = ISC_R_NOTFOUND; #endif +#endif #endif return (ipv6pktinfo_result); }