From e8ac56b04584e2822e33abdf2410ae5b2907614a Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Sun, 31 Oct 2021 20:44:30 -0700 Subject: [PATCH] lib/net: Include openssl applink shim into Windows builds --- src/lib/net/SecureUtils.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/net/SecureUtils.cpp b/src/lib/net/SecureUtils.cpp index 3dd2a6a8..c581dd49 100644 --- a/src/lib/net/SecureUtils.cpp +++ b/src/lib/net/SecureUtils.cpp @@ -57,6 +57,12 @@ #include #include +#if SYSAPI_WIN32 +// Windows builds require a shim that makes it possible to link to different +// versions of the Win32 C runtime. See OpenSSL FAQ. +#include +#endif + namespace barrier { namespace {