From: Jeremy Harris Date: Sun, 9 Feb 2014 21:03:27 +0000 (+0000) Subject: Fix build on systems having ipv6 but lacking an IPV6_TCLASS define (GNU Hurd). Bug... X-Git-Tag: exim-4_83_RC1~81 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/bb7b9411e1b4f95418bed7b35035186e261063a6 Fix build on systems having ipv6 but lacking an IPV6_TCLASS define (GNU Hurd). Bug 1441 By Samuel Thibault --- 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;