Module: wine Branch: master Commit: 337067a89d39a6bf20d53e4930f42bb7d9145302 URL: http://source.winehq.org/git/wine.git/?a=commit;h=337067a89d39a6bf20d53e4930...
Author: Austin English austinenglish@gmail.com Date: Thu Jan 22 10:44:06 2009 -0600
iphlpapi: Include netinet/if_inarp.h for NetBSD.
---
configure | 2 ++ configure.ac | 1 + dlls/iphlpapi/ipstats.c | 3 +++ include/config.h.in | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/configure b/configure index f327766..bf76813 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 1a2828d..66ad0ac 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 5d0be71..32e24e3 100644 --- a/dlls/iphlpapi/ipstats.c +++ b/dlls/iphlpapi/ipstats.c @@ -64,6 +64,9 @@ #ifdef HAVE_NETINET_IF_ETHER_H #include <netinet/if_ether.h> #endif +#ifdef HAVE_NETINET_IF_INARP_H +#include <netinet/if_inarp.h> +#endif #ifdef HAVE_NETINET_IP_H #include <netinet/ip.h> #endif diff --git a/include/config.h.in b/include/config.h.in index db83db0..11dc1c6 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -456,6 +456,9 @@ /* Define to 1 if you have the <netinet/if_ether.h> header file. */ #undef HAVE_NETINET_IF_ETHER_H
+/* Define to 1 if you have the <netinet/if_inarp.h> header file. */ +#undef HAVE_NETINET_IF_INARP_H + /* Define to 1 if you have the <netinet/in.h> header file. */ #undef HAVE_NETINET_IN_H