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