diff options
author | Malizia R <rmalizia44@gmail.com> | 2020-07-20 19:34:52 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 15:34:52 -0700 |
commit | 43aeabbbee2fb61bb0cf82d8e82631db35a6ffb8 (patch) | |
tree | 878f58ad0bc56f9d4b779fa62a9eb1f09e487fee /sockcompat.c | |
parent | 5a3c3241382033a0763e45f98a6cc6a760215079 (diff) |
fix windows compiling with mingw (#848)
Diffstat (limited to 'sockcompat.c')
-rw-r--r-- | sockcompat.c | 1 |
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: |