connect: Fix mingw build.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit a198193723)
This commit is contained in:
Andreas Schneider
2014-12-19 11:20:28 +01:00
parent 58348fcc57
commit 2ccab05cba

View File

@@ -64,6 +64,10 @@
#include <wspiapi.h>
#endif
#ifndef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
#endif
#else /* _WIN32 */
#include <netdb.h>