diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 13a67e2f..6b897f0b 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -60,6 +60,15 @@ #ifndef EWOULDBLOCK #define EWOULDBLOCK EAGAIN #endif +#ifndef EALREADY +#define EALREADY WSAEALREADY +#endif +#ifndef EINPROGRESS +#define EINPROGRESS WSAEINPROGRESS +#endif +#ifndef EISCONN +#define EISCONN WSAEISCONN +#endif #define compatible_close(fd) closesocket(fd); #ifdef __MINGW64__ @@ -70,7 +79,6 @@ #endif #endif #include -#include #include #include #else