mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-08-17 08:46:22 +00:00
possible fix for windows compile issue
This commit is contained in:
parent
d1efebe068
commit
032c1daf30
@ -22,6 +22,8 @@ inline void CloseSocketProper(int TheSocket) {
|
|||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <sentry.h>
|
#include <sentry.h>
|
||||||
|
#include <winsock2.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
inline void CloseSocketProper(SOCKET TheSocket) {
|
inline void CloseSocketProper(SOCKET TheSocket) {
|
||||||
shutdown(TheSocket, SD_BOTH);
|
shutdown(TheSocket, SD_BOTH);
|
||||||
closesocket(TheSocket);
|
closesocket(TheSocket);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user