From cb0dcc340836a64e2d33b27f1be7bc888c084f12 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 7 Mar 2014 09:46:44 +0100 Subject: w32: Include winsock2.h to silence warnings. --- common/mischelp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/mischelp.h') diff --git a/common/mischelp.h b/common/mischelp.h index a8b16356a..dd1f3a620 100644 --- a/common/mischelp.h +++ b/common/mischelp.h @@ -81,6 +81,9 @@ time_t timegm (struct tm *tm); # include # include #else +# ifdef HAVE_WINSOCK2_H +# include +# endif # include #endif -- cgit v1.2.3