Fixes for real this time for new telnet client
[reactos.git] / rosapps / net / telnet / src / tnetwork.h
index 527945f..1a42939 100644 (file)
 #ifdef __CYGWIN__
 #include <winsock.h>
 #else
-#include <Windows32/sockets.h>
+// #include <Windows32/sockets.h> Removed for ReactOS
 #endif
 #else
 #include <winsock.h>
 #endif
 
+// ReactOS uses winsock2.h (Steven Edwards 12-31-01)
+#ifdef __REACTOS__
+#include <winsock2.h>
+#endif
+
 enum NetworkType {TN_NETSOCKET, TN_NETPIPE};
 
 typedef int(*Naws_func_t)(char *, int, int);