diff --git a/src/common/keypair.cpp b/src/common/keypair.cpp index 6941f859..f090687d 100644 --- a/src/common/keypair.cpp +++ b/src/common/keypair.cpp @@ -9,6 +9,10 @@ #include "crypto_25519.h" #include +#ifdef _WIN32 +#include // alloca; MSVC's only includes it when _HAS_EXCEPTIONS=1 +#endif + static const char k_szOpenSSHPrivatKeyPEMHeader[] = "-----BEGIN OPENSSH PRIVATE KEY-----"; static const char k_szOpenSSHPrivatKeyPEMFooter[] = "-----END OPENSSH PRIVATE KEY-----";