--- tls/tls_config.c.orig Sun Mar 18 00:29:59 2018 +++ tls/tls_config.c Sun Mar 18 00:30:51 2018 @@ -15,6 +15,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef _MSC_VER +#define NO_REDEF_POSIX_FUNCTIONS +#endif + #include #include