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/ttyio.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common/ttyio.c') diff --git a/common/ttyio.c b/common/ttyio.c index a3f63274a..66ca98401 100644 --- a/common/ttyio.c +++ b/common/ttyio.c @@ -53,6 +53,9 @@ #endif #endif #ifdef USE_W32_CONSOLE +# ifdef HAVE_WINSOCK2_H +# include +# endif # include # ifdef HAVE_TCGETATTR # error mingw32 and termios -- cgit v1.2.3