From ac151af6e41242eb46689f326311195b5f7b65fc Mon Sep 17 00:00:00 2001 From: Lew Palm Date: Tue, 14 Jul 2015 21:50:25 +0200 Subject: Fix build on Mingw due to missing EWOULDBLOCK https://bugs.freedesktop.org/show_bug.cgi?id=89081 --- p11-kit/rpc-transport.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/p11-kit/rpc-transport.c b/p11-kit/rpc-transport.c index 913e054..7176b39 100644 --- a/p11-kit/rpc-transport.c +++ b/p11-kit/rpc-transport.c @@ -64,6 +64,9 @@ #ifdef OS_WIN32 #include +#ifndef EWOULDBLOCK +#define EWOULDBLOCK WSAEWOULDBLOCK +#endif #endif #ifndef EPROTO -- cgit v1.1