From bb7b9411e1b4f95418bed7b35035186e261063a6 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 9 Feb 2014 21:03:27 +0000 Subject: [PATCH] Fix build on systems having ipv6 but lacking an IPV6_TCLASS define (GNU Hurd). Bug 1441 By Samuel Thibault --- src/src/ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1