Move include to sockcompat.h to maintain style (#850)

See #848
This commit is contained in:
Michael Grunder 2020-07-20 16:27:28 -07:00 committed by GitHub
parent 43aeabbbee
commit 18fc12c392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

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

View File

@ -49,6 +49,7 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stddef.h>
#include <errno.h>
#ifdef _MSC_VER
typedef long long ssize_t;