diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2015-04-10 01:26:02 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2015-04-10 01:26:02 +0000 |
| commit | 4ba32eb5a8bf3455c09d1513ed2af8d2c861a6ba (patch) | |
| tree | f0f951897eebdd4e1fe1c8d47d866fa6c128828d /lib/isc/unix/net.c | |
| parent | f7cba3a80d9ebefc57776fffd17a4ae68f72e494 (diff) | |
Notes
Diffstat (limited to 'lib/isc/unix/net.c')
| -rw-r--r-- | lib/isc/unix/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/isc/unix/net.c b/lib/isc/unix/net.c index 2ba17d165067..7056668ca0cd 100644 --- a/lib/isc/unix/net.c +++ b/lib/isc/unix/net.c @@ -106,7 +106,8 @@ const struct in6_addr isc_net_in6addrloop = IN6ADDR_LOOPBACK_INIT; static isc_once_t once_ipv6only = ISC_ONCE_INIT; # endif -# if defined(ISC_PLATFORM_HAVEIN6PKTINFO) +# if defined(ISC_PLATFORM_HAVEIPV6) && \ + defined(WANT_IPV6) && defined(ISC_PLATFORM_HAVEIN6PKTINFO) static isc_once_t once_ipv6pktinfo = ISC_ONCE_INIT; # endif #endif /* ISC_PLATFORM_HAVEIPV6 */ |
