Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / be_all.c
index 69e44b7..ae58771 100644 (file)
--- a/be_all.c
+++ b/be_all.c
@@ -4,6 +4,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"