diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/ip.c b/src/src/ip.c index ae629b051..d6e4e7ad8 100644 --- a/src/src/ip.c +++ b/src/src/ip.c @@ -464,7 +464,7 @@ if (af == AF_INET) *level = IPPROTO_IP; *optname = IP_TOS; } -#if HAVE_IPV6 +#if HAVE_IPV6 && defined(IPV6_TCLASS) else if (af == AF_INET6) { *level = IPPROTO_IPV6; |