diff --git a/configure.ac b/configure.ac index 0f7c83aee1..5c46f8ff5b 100644 --- a/configure.ac +++ b/configure.ac @@ -2625,7 +2625,9 @@ AC_CHECK_TYPES([struct ipv6_mreq], [have_ipv6="yes"], [have_ipv6="no"], [[ -#include +#ifdef HAVE_NETINET_IN_H +# include +#endif #ifdef HAVE_WS2TCPIP_H # include #endif