From 22357624ff1c59c8e434d79f461fd8c85fcecc0c Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 28 Jun 2010 18:14:00 +0000 Subject: (svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well. --- src/network/core/os_abstraction.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/core') diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index 5b789d5cc..1bdf942c6 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -22,11 +22,13 @@ /* Windows stuff */ #if defined(WIN32) || defined(WIN64) +#include #include #include #include #define GET_LAST_ERROR() WSAGetLastError() +#undef EWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK /* Windows has some different names for some types */ typedef unsigned long in_addr_t; -- cgit v1.2.3-54-g00ecf