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

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

Reply via email to