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
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

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;