From 26b0aea24f9add0a1811e23f709d96b44b459571 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Wed, 3 Mar 2010 17:01:08 +0100 Subject: Win32 build fixes --- src/ip.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ip.hpp') diff --git a/src/ip.hpp b/src/ip.hpp index ffab2f2..d963df2 100644 --- a/src/ip.hpp +++ b/src/ip.hpp @@ -30,6 +30,11 @@ #include #include #include +#endif + +#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS +#include +#endif // Some platforms (notably Darwin/OSX and NetBSD) do not define all AI_ // flags for getaddrinfo(). This can be worked around safely by defining @@ -40,11 +45,6 @@ #ifndef AI_NUMERICSERV #define AI_NUMERICSERV 0 #endif -#endif - -#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS -#include -#endif namespace zmq { -- cgit v1.2.3