aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/os/winerrno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/os/winerrno.h b/common/os/winerrno.h
index 052d4de2..a81fdc94 100644
--- a/common/os/winerrno.h
+++ b/common/os/winerrno.h
@@ -5,6 +5,8 @@ cat /usr/i686-pc-mingw32/sys-root/mingw/include/winerror.h \
| egrep -v 'EINTR|EBADF|EACCES|EFAULT|EINVAL|EMFILE|_QOS|PROVIDER|PROCTABLE'
*/
+#include <winsock2.h>
+
#undef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#undef EINPROGRESS