Client: fix socklen_t compile error

This commit is contained in:
Lion Kortlepel
2021-09-09 12:32:33 +03:00
parent f4ccf6c177
commit 58da200901

View File

@@ -12,6 +12,11 @@
class TServer;
#ifdef WIN32
// for socklen_t
#include <WS2tcpip.h>
#endif // WIN32
struct TConnection final {
SOCKET Socket;
struct sockaddr SockAddr;