diff --git a/sockcompat.c b/sockcompat.c index ca1bacc..f99d14b 100644 --- a/sockcompat.c +++ b/sockcompat.c @@ -32,7 +32,6 @@ #include "sockcompat.h" #ifdef _WIN32 -#include static int _wsaErrorToErrno(int err) { switch (err) { case WSAEWOULDBLOCK: diff --git a/sockcompat.h b/sockcompat.h index 9249d5e..85810e8 100644 --- a/sockcompat.h +++ b/sockcompat.h @@ -49,6 +49,7 @@ #include #include #include +#include #ifdef _MSC_VER typedef long long ssize_t;