GnuPG 2.5.4 build failure on Cygwin

Marco Atzeri via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.