diff --git a/configure b/configure index f327766190d..bf768137ff0 100755 --- a/configure +++ b/configure @@ -7926,6 +7926,7 @@ done + for ac_header in \ netinet/ip.h \ net/if.h \ @@ -7934,6 +7935,7 @@ for ac_header in \ net/if_types.h \ net/route.h \ netinet/if_ether.h \ + netinet/if_inarp.h \ netinet/in_pcb.h \ netinet/ip_icmp.h \ netinet/ip_var.h \ diff --git a/configure.ac b/configure.ac index 1a2828d2d93..66ad0ac8acc 100644 --- a/configure.ac +++ b/configure.ac @@ -386,6 +386,7 @@ AC_CHECK_HEADERS(\ net/if_types.h \ net/route.h \ netinet/if_ether.h \ + netinet/if_inarp.h \ netinet/in_pcb.h \ netinet/ip_icmp.h \ netinet/ip_var.h \ diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c index 5d0be71c80e..32e24e3f9d2 100644 --- a/dlls/iphlpapi/ipstats.c +++ b/dlls/iphlpapi/ipstats.c @@ -64,6 +64,9 @@ #ifdef HAVE_NETINET_IF_ETHER_H #include #endif +#ifdef HAVE_NETINET_IF_INARP_H +#include +#endif #ifdef HAVE_NETINET_IP_H #include #endif diff --git a/include/config.h.in b/include/config.h.in index db83db07eff..11dc1c6b462 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -456,6 +456,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IF_ETHER_H +/* Define to 1 if you have the header file. */ +#undef HAVE_NETINET_IF_INARP_H + /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H