GnuPG 2.5.4 build failure on Cygwin
Marco Atzeri
marco.atzeri at gmail.com
Thu Feb 13 15:14:56 CET 2025
Building on Cygwin 64 bit
/pub/devel/gnupg2/gnupg2-2.5.4-1.x86_64/src/gnupg-2.5.4/agent/command-ssh.c:
In function ‘start_command_handler_ssh’:
/pub/devel/gnupg2/gnupg2-2.5.4-1.x86_64/src/gnupg-2.5.4/agent/command-ssh.c:3962:19:
error: ‘SOCKET’ undeclared (first use in this function)
3962 | syshd.u.sock = (SOCKET)sock_client;
What is supposed to be SOCKET ?
For what I see on the 2.4.x series there is only the
syshd.u.sock = sock_client
assignment.
Posix does not define "SOCKET" in sys/socket.h
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_socket.h.html
More information about the Gnupg-devel
mailing list