Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / settings.c
index 1bbf6fb..de1fb26 100644 (file)
@@ -3,6 +3,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"
 #include "storage.h"