Fix dlls/iphlpapi/ipstats.c build

Gerald Pfeifer gerald at pfeifer.com
Fri Jun 27 06:27:33 CDT 2008


On Fri, 27 Jun 2008, Gerald Pfeifer wrote:
> The latest update here broke the build on FreeBSD 6.2 in a number of
> ways; this is the first fix.
> 
> Gerald @FreeBSD.org
> 
> ChangeLog:
> #include <netinet/in_systm.h> if present.

Plus, we need this one on top of my previous patch.

Gerald

ChangeLog:
#include <netinet/ip.h> if present.

--- dlls/iphlpapi/ipstats.c.orig	Fri Jun 27 13:25:35 2008
+++ dlls/iphlpapi/ipstats.c	Fri Jun 27 13:21:06 2008
@@ -80,6 +80,9 @@
 #ifdef HAVE_NETINET_IN_SYSTM_H
 #include <netinet/in_systm.h>
 #endif
+#ifdef HAVE_NETINET_IP_H
+#include <netinet/ip.h>
+#endif
 #ifdef HAVE_NETINET_IP_ICMP_H
 #include <netinet/ip_icmp.h>
 #endif



More information about the wine-patches mailing list