summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-11-24 07:27:30 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-11-24 07:43:14 +0100
commit74f7d2044181abba0543dd02e6b83de7e8ff5c42 (patch)
tree8c46e08444ce842fda48838cddddd60e809a39b0 /configure.ac
parent6dcd22711fa2ad3e1f8b94b4e65933217c0c2546 (diff)
autotools: detect IPV6 support on Windows
The detection in configure.ac includes netinet/in.h, for linux, but this header file does not exist on Windows. So guard this header. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0f7c83a..5c46f8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2625,7 +2625,9 @@ AC_CHECK_TYPES([struct ipv6_mreq],
2625 [have_ipv6="yes"], 2625 [have_ipv6="yes"],
2626 [have_ipv6="no"], 2626 [have_ipv6="no"],
2627 [[ 2627 [[
2628#include <netinet/in.h> 2628#ifdef HAVE_NETINET_IN_H
2629# include <netinet/in.h>
2630#endif
2629#ifdef HAVE_WS2TCPIP_H 2631#ifdef HAVE_WS2TCPIP_H
2630# include <ws2tcpip.h> 2632# include <ws2tcpip.h>
2631#endif 2633#endif