Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / sizetip.c
index 94407ae..2e82c18 100644 (file)
--- a/sizetip.c
+++ b/sizetip.c
@@ -1,4 +1,11 @@
 #include <windows.h>
+#ifndef AUTO_WINSOCK
+#ifdef WINSOCK_TWO
+#include <winsock2.h>
+#else
+#include <winsock.h>
+#endif
+#endif
 #include <winreg.h>
 #include <tchar.h>
 #include <stdio.h>