summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.hpp
diff options
context:
space:
mode:
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
{