From 3fcbed280bd20e84d9062e3b6b7ac6d7decb80bb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Oct 2012 10:36:38 +0200 Subject: [PATCH] Include windows.h on Windows This is to ensure that struct timeval is defined. --- src/client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client.c b/src/client.c index 426b289..44ee5d5 100644 --- a/src/client.c +++ b/src/client.c @@ -33,6 +33,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if HAVE_UNISTD_H #include #endif +#ifdef WIN32 +#include +#endif #include #include -- 1.7.10.4