From 95c036836e174f5aadfeca00df9d17ab0242b41e Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 29 Jul 2021 12:02:49 +0200 Subject: [PATCH] add ws2tcpip.h --- include/Compat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/Compat.h b/include/Compat.h index 89d625c..e8052d9 100644 --- a/include/Compat.h +++ b/include/Compat.h @@ -26,6 +26,7 @@ inline void CloseSocketProper(int TheSocket) { inline void CloseSocketProper(SOCKET TheSocket) { shutdown(TheSocket, 2); // 2 == SD_BOTH closesocket(TheSocket); + } #endif // WIN32 @@ -33,4 +34,4 @@ inline void CloseSocketProper(SOCKET TheSocket) { #if !defined(WIN32) && !defined(__unix) #error "OS not supported" -#endif +#endif \ No newline at end of file