From: Richard Levitte Date: Mon, 17 May 2021 18:20:35 +0000 (+0200) Subject: Fix crypto/bio/b_sock.c for VMS X-Git-Tag: openssl-3.0.0-alpha17~40 X-Git-Url: https://git.openssl.org/?a=commitdiff_plain;h=857cbe176f28e3f178e492159fa9f2f203e845cd;p=openssl.git 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) --- 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