cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=74f7d2044181abba0543dd02e6b83de7e8ff5c42

commit 74f7d2044181abba0543dd02e6b83de7e8ff5c42
Author: Vincent Torri <vincent dot torri at gmail dot com>
Date:   Tue Nov 24 07:27:30 2015 +0100

    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 <ced...@osg.samsung.com>
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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],
    [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

-- 


Reply via email to