From 43aeabbbee2fb61bb0cf82d8e82631db35a6ffb8 Mon Sep 17 00:00:00 2001 From: Malizia R Date: Mon, 20 Jul 2020 19:34:52 -0300 Subject: fix windows compiling with mingw (#848) --- sockcompat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sockcompat.c b/sockcompat.c index f99d14b..ca1bacc 100644 --- a/sockcompat.c +++ b/sockcompat.c @@ -32,6 +32,7 @@ #include "sockcompat.h" #ifdef _WIN32 +#include static int _wsaErrorToErrno(int err) { switch (err) { case WSAEWOULDBLOCK: -- cgit v1.2.3