From 5457217503f2d9ea2cd2084a95aade0c74e0825e Mon Sep 17 00:00:00 2001 From: svost Date: Thu, 23 Dec 2021 09:48:20 +0300 Subject: [PATCH] Improved compatibility - fix mingw crossbuild (#337) --- ixwebsocket/IXNetSystem.h | 4 ++-- ixwebsocket/IXSetThreadName.cpp | 2 +- ixwebsocket/IXSocket.h | 2 +- ixwebsocket/IXSocketOpenSSL.cpp | 2 +- ixwebsocket/IXUdpSocket.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ixwebsocket/IXNetSystem.h b/ixwebsocket/IXNetSystem.h index b2220a95..21131b4e 100644 --- a/ixwebsocket/IXNetSystem.h +++ b/ixwebsocket/IXNetSystem.h @@ -12,8 +12,8 @@ #define WIN32_LEAN_AND_MEAN #endif -#include -#include +#include +#include #include #include #include diff --git a/ixwebsocket/IXSetThreadName.cpp b/ixwebsocket/IXSetThreadName.cpp index 40faf9d9..b1e77379 100644 --- a/ixwebsocket/IXSetThreadName.cpp +++ b/ixwebsocket/IXSetThreadName.cpp @@ -17,7 +17,7 @@ // Windows #ifdef _WIN32 -#include +#include #endif namespace ix diff --git a/ixwebsocket/IXSocket.h b/ixwebsocket/IXSocket.h index 5604c40d..393d5bc4 100644 --- a/ixwebsocket/IXSocket.h +++ b/ixwebsocket/IXSocket.h @@ -13,7 +13,7 @@ #include #ifdef _WIN32 -#include +#include typedef SSIZE_T ssize_t; #endif diff --git a/ixwebsocket/IXSocketOpenSSL.cpp b/ixwebsocket/IXSocketOpenSSL.cpp index c92477a1..0028707e 100644 --- a/ixwebsocket/IXSocketOpenSSL.cpp +++ b/ixwebsocket/IXSocketOpenSSL.cpp @@ -15,7 +15,7 @@ #include #include #ifdef _WIN32 -#include +#include #else #include #endif diff --git a/ixwebsocket/IXUdpSocket.h b/ixwebsocket/IXUdpSocket.h index 048f9fc2..35f8fec4 100644 --- a/ixwebsocket/IXUdpSocket.h +++ b/ixwebsocket/IXUdpSocket.h @@ -11,7 +11,7 @@ #include #ifdef _WIN32 -#include +#include typedef SSIZE_T ssize_t; #endif