From 58da200901ae51d7baff0b46442bdfd6ab054ad6 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 9 Sep 2021 12:32:33 +0300 Subject: [PATCH] Client: fix socklen_t compile error --- include/Client.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/Client.h b/include/Client.h index 8ac7035..3c605c7 100644 --- a/include/Client.h +++ b/include/Client.h @@ -12,6 +12,11 @@ class TServer; +#ifdef WIN32 +// for socklen_t +#include +#endif // WIN32 + struct TConnection final { SOCKET Socket; struct sockaddr SockAddr;