diff options
Diffstat (limited to 'common/ttyio.c')
-rw-r--r-- | common/ttyio.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <winsock2.h> +# endif # include <windows.h> # ifdef HAVE_TCGETATTR # error mingw32 and termios |