lib/net: Include openssl applink shim into Windows builds

This commit is contained in:
Povilas Kanapickas 2021-10-31 20:44:30 -07:00
parent b677a0b419
commit e8ac56b045
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,12 @@
#include <cstring>
#include <stdexcept>
#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 <openssl/applink.c>
#endif
namespace barrier {
namespace {