mirror of
https://github.com/openssl/openssl.git
synced 2025-01-24 13:55:42 +08:00
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:
parent
d94bee8e9b
commit
3ae4686bf6
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user