Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / be_none.c
index d112143..8151b3d 100644 (file)
--- a/be_none.c
+++ b/be_none.c
@@ -5,6 +5,13 @@
  */
 
 #include <windows.h>
+#ifndef AUTO_WINSOCK
+#ifdef WINSOCK_TWO
+#include <winsock2.h>
+#else
+#include <winsock.h>
+#endif
+#endif
 #include <stdio.h>
 #include "putty.h"