forked from enlightenment/efl
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>
This commit is contained in:
parent
6dcd22711f
commit
74f7d20441
|
@ -2625,7 +2625,9 @@ AC_CHECK_TYPES([struct ipv6_mreq],
|
|||
[have_ipv6="yes"],
|
||||
[have_ipv6="no"],
|
||||
[[
|
||||
#include <netinet/in.h>
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_WS2TCPIP_H
|
||||
# include <ws2tcpip.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue