From 9512ba53224e8b30bdad76abf979924b2d0f1f85 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 13 May 2003 23:37:29 +0000 Subject: [PATCH] Add missing #includes for non-Linux systems. --- dlls/iphlpapi/iphlpapi_main.c | 2 ++ dlls/iphlpapi/ipstats.c | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index d2d054e8fcc..76b1390479a 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -21,6 +21,8 @@ #include "config.h" #include +#include +#include #include #include "winbase.h" #include "iphlpapi.h" diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c index b574ec5417b..579efbe82f0 100644 --- a/dlls/iphlpapi/ipstats.c +++ b/dlls/iphlpapi/ipstats.c @@ -23,15 +23,16 @@ #include #include #include - +#include +#ifdef HAVE_SYS_SOCKET_H +# include +#endif #if HAVE_NET_IF_H #include #endif - #if HAVE_NETINET_TCP_H #include #endif - #if HAVE_NETINET_TCP_FSM_H #include #endif