diff --git a/configure b/configure index f2bf40e3917..6fd07c88295 100755 --- a/configure +++ b/configure @@ -7971,6 +7971,9 @@ cat >>conftest.$ac_ext <<_ACEOF #ifdef HAVE_NETINET_IN_SYSTM_H # include #endif + #ifdef HAVE_NET_IF_H + # include + #endif #ifdef HAVE_NETINET_IP_H # include #endif diff --git a/configure.ac b/configure.ac index fe713435492..8b78efeeeff 100644 --- a/configure.ac +++ b/configure.ac @@ -408,6 +408,9 @@ AC_CHECK_HEADERS(\ #ifdef HAVE_NETINET_IN_SYSTM_H # include #endif + #ifdef HAVE_NET_IF_H + # include + #endif #ifdef HAVE_NETINET_IP_H # include #endif])