Miscellaneous fixes to try to make other compilers happier
[u/mdw/putty] / be_nossh.c
index 2f8fa45..5dac276 100644 (file)
@@ -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"
 
@@ -19,5 +26,9 @@ struct backend_list backends[] = {
 void random_save_seed(void) {
 }
 
+void random_destroy_seed(void) {
+}
+
 void noise_ultralight(DWORD data) {
 }
+