diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-03-03 17:01:08 +0100 |
---|---|---|
committer | Martin Lucina <mato@kotelna.sk> | 2010-03-03 17:01:08 +0100 |
commit | 26b0aea24f9add0a1811e23f709d96b44b459571 (patch) | |
tree | b1a121b5d272d5635aacfadbabf6ebc8fbe3dc9b /src/ip.hpp | |
parent | 352da8ae8775f057a7ec67a7bd3f2270ac1c4d0f (diff) |
Win32 build fixes
Diffstat (limited to 'src/ip.hpp')
-rw-r--r-- | src/ip.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -30,6 +30,11 @@ #include <arpa/inet.h> #include <netinet/in.h> #include <netdb.h> +#endif + +#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS +#include <sys/un.h> +#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 <sys/un.h> -#endif namespace zmq { |