From 18fc12c392f506c7be3cb0753304db6a3525a8a9 Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Mon, 20 Jul 2020 16:27:28 -0700 Subject: [PATCH] Move include to sockcompat.h to maintain style (#850) See #848 --- sockcompat.c | 1 - sockcompat.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sockcompat.c b/sockcompat.c index ca1bacc..f99d14b 100644 --- a/sockcompat.c +++ b/sockcompat.c @@ -32,7 +32,6 @@ #include "sockcompat.h" #ifdef _WIN32 -#include static int _wsaErrorToErrno(int err) { switch (err) { case WSAEWOULDBLOCK: diff --git a/sockcompat.h b/sockcompat.h index 9249d5e..85810e8 100644 --- a/sockcompat.h +++ b/sockcompat.h @@ -49,6 +49,7 @@ #include #include #include +#include #ifdef _MSC_VER typedef long long ssize_t;