summaryrefslogtreecommitdiffstats
path: root/src/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connect.c')
-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>