]> granicus.if.org Git - p11-kit/commitdiff
Fix build on Mingw due to missing EWOULDBLOCK
authorLew Palm <l.palm@m-privacy.de>
Tue, 14 Jul 2015 19:50:25 +0000 (21:50 +0200)
committerStef Walter <stefw@redhat.com>
Tue, 14 Jul 2015 19:50:25 +0000 (21:50 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=89081

p11-kit/rpc-transport.c

index 913e054d029f7ff0fc8e9536aceb12f44cddf4c2..7176b391ef8c18eb02c11d2cc048b2880ed9098c 100644 (file)
@@ -64,6 +64,9 @@
 
 #ifdef OS_WIN32
 #include <winsock2.h>
+#ifndef EWOULDBLOCK
+#define EWOULDBLOCK WSAEWOULDBLOCK
+#endif
 #endif
 
 #ifndef EPROTO