Gitweb:
http://git.exim.org/exim.git/commitdiff/bb7b9411e1b4f95418bed7b35035186e261063a6
Commit: bb7b9411e1b4f95418bed7b35035186e261063a6
Parent: b26a34e4fcb8ae07c413eea991918247f52c5940
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Feb 9 21:03:27 2014 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Sun Feb 9 21:03:27 2014 +0000
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 ae629b0..d6e4e7a 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;