mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-26 14:00:22 +00:00
possible fix for windows compile issue
This commit is contained in:
1 parent
d1efebe068
commit
032c1daf30
1 file changed
+2
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user