From: Lew Palm Date: Tue, 14 Jul 2015 19:50:25 +0000 (+0200) Subject: Fix build on Mingw due to missing EWOULDBLOCK X-Git-Tag: 0.23.2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac151af6e41242eb46689f326311195b5f7b65fc;p=p11-kit Fix build on Mingw due to missing EWOULDBLOCK https://bugs.freedesktop.org/show_bug.cgi?id=89081 --- 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