Fix IPv6 check on FreeBSD by including netinet/in.h
PATCH 1/1 Fix IPv6 check on FreeBSD by including netinet/in.h
I noticed IPv6 support was being disabled on FreeBSD; it seems the configure script needs netinet/in.h so in6_addr is known.
Signature · 10 lines
Bruce From 21fc22b5f510d8dc93a9b200f3787a7aa6638d35 Mon Sep 17 00:00:00 2001 From: Bruce Cran <[email protected]> Date: Thu, 13 Feb 2014 04:53:36 +0000 Subject: [PATCH] According to POSIX, in6_addr requires netinet/in.h --- configure | 1 + 1 file changed, 1 insertion(+)
configure +1 -0
@@ -1098,6 +1098,7 @@ ipv6="no" cat > $TMPC << EOF #include <sys/types.h> #include <sys/socket.h> +#include <netinet/in.h> #include <netdb.h> #include <stdio.h> int main(int argc, char **argv)
--
1.8.4.3
Quoted 2 lines · Bruce Cran
I noticed IPv6 support was being disabled on FreeBSD; it seems the configure script needs
netinet/in.hsoin6_addris known.
Thanks Bruce, applied.
Signature · 1 line
Jens Axboe