From a198193723b6a17668e95163df9a9de23f66b62f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 19 Dec 2014 11:20:28 +0100 Subject: [PATCH] connect: Fix mingw build. Signed-off-by: Andreas Schneider --- src/connect.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/connect.c b/src/connect.c index da1bf443..01f74ccb 100644 --- a/src/connect.c +++ b/src/connect.c @@ -64,6 +64,10 @@ #include #endif +#ifndef EINPROGRESS +#define EINPROGRESS WSAEINPROGRESS +#endif + #else /* _WIN32 */ #include