From 857cbe176f28e3f178e492159fa9f2f203e845cd Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 17 May 2021 20:20:35 +0200 Subject: [PATCH] Fix crypto/bio/b_sock.c for VMS Current VMS C-RTL does not have . is a good enough replacement to get fd_set. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15319) --- crypto/bio/b_sock.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index d0cdae7b3d..ca45886739 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -29,11 +29,15 @@ static int wsa_init_done = 0; # if defined(OPENSSL_TANDEM_FLOSS) # include # endif -# elif !defined _WIN32 -# include -# include -# else +# elif defined _WIN32 # include /* for type fd_set */ +# else +# include +# if defined __VMS +# include +# else +# include +# endif # endif # ifndef OPENSSL_NO_DEPRECATED_1_1_0 -- 2.34.1