diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-02-09 21:03:27 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-02-09 21:03:27 +0000 |
commit | bb7b9411e1b4f95418bed7b35035186e261063a6 (patch) | |
tree | ca3eb6a894a49398c4f882f0183a2a628e0f7e1f | |
parent | b26a34e4fcb8ae07c413eea991918247f52c5940 (diff) |
Fix build on systems having ipv6 but lacking an IPV6_TCLASS define (GNU Hurd). Bug 1441
By Samuel Thibault
-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; |