summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-02-09 19:23:15 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-02-09 19:23:15 +0100
commit8f86cac2f6721eec4b600383eb113f7fedf41ce1 (patch)
treecbf234f0590e74232d7d3498ae1ff16136057cd7 /src/tcp_connecter.hpp
parentfd673ae231119682a242967551cfa034fa32791a (diff)
ZMQII-69: Make 0MQ build on HP-UX
Diffstat (limited to 'src/tcp_connecter.hpp')
-rw-r--r--src/tcp_connecter.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tcp_connecter.hpp b/src/tcp_connecter.hpp
index eee13ef..f1a124f 100644
--- a/src/tcp_connecter.hpp
+++ b/src/tcp_connecter.hpp
@@ -20,8 +20,15 @@
#ifndef __ZMQ_TCP_CONNECTER_HPP_INCLUDED__
#define __ZMQ_TCP_CONNECTER_HPP_INCLUDED__
+#include "platform.hpp"
#include "fd.hpp"
-#include "ip.hpp"
+
+#ifdef ZMQ_HAVE_WINDOWS
+#include "windows.hpp"
+#else
+#include <sys/types.h>
+#include <sys/socket.h>
+#endif
namespace zmq
{