possible fix for windows compile issue

This commit is contained in:
Lion Kortlepel
2021-09-08 19:55:03 +03:00
committed by Lion
parent d1efebe068
commit 032c1daf30
+2
View File
@@ -22,6 +22,8 @@ inline void CloseSocketProper(int TheSocket) {
#ifdef WIN32
#include <sentry.h>
#include <winsock2.h>
#include <ws2tcpip.h>
inline void CloseSocketProper(SOCKET TheSocket) {
shutdown(TheSocket, SD_BOTH);
closesocket(TheSocket);