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/stringhelp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/stringhelp.c') diff --git a/common/stringhelp.c b/common/stringhelp.c index d51d3e0ce..2d2b412dc 100644 --- a/common/stringhelp.c +++ b/common/stringhelp.c @@ -41,6 +41,9 @@ #include #include #ifdef HAVE_W32_SYSTEM +# ifdef HAVE_WINSOCK2_H +# include +# endif # include #endif -- cgit v1.2.3