summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-12-19 11:20:28 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-01-26 17:10:19 +0100
commit2ccab05cba3eb631d937084fe2d89b35c07b0d72 (patch)
tree6162c0d937ddd614a71bfff183ee4a781e03c268
parent58348fcc573628d69a1fefe262f567a95370a579 (diff)
downloadlibssh-2ccab05cba3eb631d937084fe2d89b35c07b0d72.tar.gz
libssh-2ccab05cba3eb631d937084fe2d89b35c07b0d72.tar.xz
libssh-2ccab05cba3eb631d937084fe2d89b35c07b0d72.zip
connect: Fix mingw build.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit a198193723b6a17668e95163df9a9de23f66b62f)
-rw-r--r--src/connect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/connect.c b/src/connect.c
index a692dcb4..e0722a75 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -64,6 +64,10 @@
#include <wspiapi.h>
#endif
+#ifndef EINPROGRESS
+#define EINPROGRESS WSAEINPROGRESS
+#endif
+
#else /* _WIN32 */
#include <netdb.h>