diff options
Diffstat (limited to 'src/common/socket.h')
-rw-r--r-- | src/common/socket.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/socket.h b/src/common/socket.h index a5d519d0e..3c6cebf0b 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -7,8 +7,7 @@ #include "../common/cbasetypes.h" #ifdef WIN32 - #define WIN32_LEAN_AND_MEAN // otherwise winsock2.h includes full windows.h - #include <winsock2.h> + #include "../common/winapi.h" typedef long in_addr_t; #else #include <sys/types.h> |