VMS: Add a fallback definition of socklen_t

It is not present in current VMS C headers...

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21951)
This commit is contained in:
Richard Levitte 2023-09-04 16:23:05 +02:00
parent d94bee8e9b
commit 3ae4686bf6

View File

@ -89,6 +89,9 @@ struct servent *PASCAL getservbyname(const char *, const char *);
# endif
# include <netdb.h>
# if defined(OPENSSL_SYS_VMS)
typedef size_t socklen_t; /* Currently appears to be missing on VMS */
# endif
# if defined(OPENSSL_SYS_VMS_NODECC)
# include <socket.h>
# include <in.h>