diff options
-rw-r--r-- | crypto/bio/b_sock.c | 12 |
1 files 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 <floss.h(floss_select)> # endif -# elif !defined _WIN32 -# include <unistd.h> -# include <sys/select.h> -# else +# elif defined _WIN32 # include <winsock.h> /* for type fd_set */ +# else +# include <unistd.h> +# if defined __VMS +# include <sys/socket.h> +# else +# include <sys/select.h> +# endif # endif # ifndef OPENSSL_NO_DEPRECATED_1_1_0 |