Skip to content

Commit

Permalink
VMS: Add a fallback definition of socklen_t
Browse files Browse the repository at this point in the history
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 #21951)
  • Loading branch information
levitte committed Sep 4, 2023
1 parent d94bee8 commit 3ae4686
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/internal/sockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 3ae4686

Please sign in to comment.