From 643166a3378d49a69a7a527df4443ea35dda2291 Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 1 Sep 2020 11:46:17 -0300 Subject: [PATCH] Uncoditionally include errno.h instead of guessing POSIX tells us that it is errno.h, musl fails to build with -Werror because it redirects sys/errno.h->errno.h and uses #warning (cherry picked from commit 041248e7ccf85f0ff0feb9e3289ee8aafdd5c2be) --- src/TLSClient.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp index 990a7a9d5..97c266006 100644 --- a/src/TLSClient.cpp +++ b/src/TLSClient.cpp @@ -37,11 +37,7 @@ #include #include #include -#if (defined OPENBSD || defined SOLARIS || defined NETBSD) #include -#else -#include -#endif #include #include #include