diff --git a/rosapps/net/telnet/src/stl_bids.h b/rosapps/net/telnet/src/stl_bids.h index 6e3471178b5..09f3f8ac3c7 100644 --- a/rosapps/net/telnet/src/stl_bids.h +++ b/rosapps/net/telnet/src/stl_bids.h @@ -132,8 +132,10 @@ public: destroy(begin( ), end( )); #ifdef __CYGWIN__ _M_finish = _M_start; -#else - finish = start; +#endif +// finish = start; /* Removed for ReactOS */ +#ifdef __REACTOS__ + _M_finish = _M_start; #endif #endif } diff --git a/rosapps/net/telnet/src/tnetwork.h b/rosapps/net/telnet/src/tnetwork.h index 527945f75ec..1a42939d9d1 100644 --- a/rosapps/net/telnet/src/tnetwork.h +++ b/rosapps/net/telnet/src/tnetwork.h @@ -11,12 +11,17 @@ #ifdef __CYGWIN__ #include #else -#include +// #include Removed for ReactOS #endif #else #include #endif +// ReactOS uses winsock2.h (Steven Edwards 12-31-01) +#ifdef __REACTOS__ +#include +#endif + enum NetworkType {TN_NETSOCKET, TN_NETPIPE}; typedef int(*Naws_func_t)(char *, int, int);