From a97ed621bb18084d3dd80c42be7912865075e2f4 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 27 Jun 2003 04:04:00 +0000 Subject: [PATCH] Add inclusion of needed for struct timeval declaration. Protect some optional headers from inclusion. --- dlls/wininet/netconnection.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index d21c3e6d402..3accfa4b43f 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -23,11 +23,18 @@ #include "config.h" #include "wine/port.h" -#include +#ifdef HAVE_SYS_TIME_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif #ifdef HAVE_SYS_SOCKET_H # include #endif -#include +#ifdef HAVE_UNISTD_H +# include +#endif #include #include -- 2.11.4.GIT