Skip to content

Commit

Permalink
Move include to sockcompat.h to maintain style (#850)
Browse files Browse the repository at this point in the history
See #848
  • Loading branch information
michael-grunder committed Jul 20, 2020
1 parent 43aeabb commit 18fc12c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion sockcompat.c
Expand Up @@ -32,7 +32,6 @@
#include "sockcompat.h"

#ifdef _WIN32
#include <errno.h>
static int _wsaErrorToErrno(int err) {
switch (err) {
case WSAEWOULDBLOCK:
Expand Down
1 change: 1 addition & 0 deletions sockcompat.h
Expand Up @@ -49,6 +49,7 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stddef.h>
#include <errno.h>

#ifdef _MSC_VER
typedef long long ssize_t;
Expand Down

0 comments on commit 18fc12c

Please sign in to comment.