Created attachment 113345 [details] Patch to define EWOULDBLOCK if it is undefined. I am cross-compiling p11-kit on a amd64 Linux machine for Woe64 with x86_64-w64-mingw32. This bug applies to current git a6df1f21e42a3b57448eb6897b976ac8883908eb as well as to current release 0.22.1. The build fails because of: p11-kit/rpc-transport.c: In function 'write_at': p11-kit/rpc-transport.c:289:56: error: 'EWOULDBLOCK' undeclared (first use in this function) p11-kit/rpc-transport.c: In function 'read_at': p11-kit/rpc-transport.c:478:56: error: 'EWOULDBLOCK' undeclared (first use in this function) The mingw32 environment does not define EWOULDBLOCK, but it has WSAEWOULDBLOCK. A fix is attachted to this bug report.
Merged.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.