Unverified Commit 18fc12c3 authored by Michael Grunder's avatar Michael Grunder Committed by GitHub
Browse files

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

See #848
parent 43aeabbb
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "sockcompat.h" #include "sockcompat.h"
#ifdef _WIN32 #ifdef _WIN32
#include <errno.h>
static int _wsaErrorToErrno(int err) { static int _wsaErrorToErrno(int err) {
switch (err) { switch (err) {
case WSAEWOULDBLOCK: case WSAEWOULDBLOCK:
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#include <stddef.h> #include <stddef.h>
#include <errno.h>
#ifdef _MSC_VER #ifdef _MSC_VER
typedef long long ssize_t; typedef long long ssize_t;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment