summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalizia R <rmalizia44@gmail.com>2020-07-20 19:34:52 -0300
committerGitHub <noreply@github.com>2020-07-20 15:34:52 -0700
commit43aeabbbee2fb61bb0cf82d8e82631db35a6ffb8 (patch)
tree878f58ad0bc56f9d4b779fa62a9eb1f09e487fee
parent5a3c3241382033a0763e45f98a6cc6a760215079 (diff)
fix windows compiling with mingw (#848)
-rw-r--r--sockcompat.c1
1 files changed, 1 insertions, 0 deletions
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 <errno.h>
static int _wsaErrorToErrno(int err) {
switch (err) {
case WSAEWOULDBLOCK: