fix windows compiling with mingw (#848)

This commit is contained in:
Malizia R 2020-07-20 19:34:52 -03:00 committed by GitHub
parent 5a3c324138
commit 43aeabbbee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#include "sockcompat.h"
#ifdef _WIN32
#include <errno.h>
static int _wsaErrorToErrno(int err) {
switch (err) {
case WSAEWOULDBLOCK: