possible fix for windows build 2

This commit is contained in:
Lion Kortlepel 2021-08-10 16:12:46 +02:00 committed by Lion
parent e92847e628
commit c77e2b3fd8

View File

@ -21,8 +21,7 @@ inline void CloseSocketProper(int TheSocket) {
// ======================= WIN32 ======================= // ======================= WIN32 =======================
#ifdef WIN32 #ifdef WIN32
#include <conio.h> #include <sentry.h>
#include <ws2def.h>
inline void CloseSocketProper(SOCKET TheSocket) { inline void CloseSocketProper(SOCKET TheSocket) {
shutdown(TheSocket, SD_BOTH); shutdown(TheSocket, SD_BOTH);
closesocket(TheSocket); closesocket(TheSocket);