1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-12-24 19:37:49 +03:00

vms: fix to include sys/socket.h

Due to a typo in the `HAVE_*` macro, this header was never included.

A comment suggests that `socklen_t` is not defined on VMS and defines it
manually. This symbol is usually in `sys/socket.h`, so the typo may have
been the reason for it to be missing.

Closes #1007
This commit is contained in:
Viktor Szakats
2023-04-26 13:00:39 +00:00
parent 2c18b6fc8d
commit 6c6bf4e5c0

View File

@@ -19,7 +19,7 @@ typedef unsigned int socklen_t; /* missing in headers on VMS */
#define HAVE_SELECT
#define HAVE_UIO
#define HAVE_SYS_SOCKET.H
#define HAVE_SYS_SOCKET_H
#define HAVE_NETINET_IN_H
#define HAVE_ARPA_INET_H