summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorunknown <bundra@.(none)>2010-01-15 14:21:20 +0100
committerunknown <bundra@.(none)>2010-01-15 14:21:20 +0100
commita507d16e13fdd6b13e1e69d0d305750995513a1f (patch)
tree9ecbb329642e58e27730b75aaa8fc1cc5b078b3d /src
parent2bb57ac57ace37203c505ff17147210feca34d73 (diff)
Win32 build fixed
Diffstat (limited to 'src')
-rw-r--r--src/tcp_connecter.cpp2
-rw-r--r--src/tcp_listener.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp
index aea8a12..f148ae4 100644
--- a/src/tcp_connecter.cpp
+++ b/src/tcp_connecter.cpp
@@ -21,6 +21,8 @@
#include <string>
+#include "../bindings/c/zmq.h"
+
#include "tcp_connecter.hpp"
#include "platform.hpp"
#include "ip.hpp"
diff --git a/src/tcp_listener.cpp b/src/tcp_listener.cpp
index 2b30a8e..9a9850d 100644
--- a/src/tcp_listener.cpp
+++ b/src/tcp_listener.cpp
@@ -19,6 +19,8 @@
#include <string.h>
+#include "../bindings/c/zmq.h"
+
#include "tcp_listener.hpp"
#include "platform.hpp"
#include "ip.hpp"
@@ -39,7 +41,7 @@ zmq::tcp_listener_t::~tcp_listener_t ()
close ();
}
-int zmq::tcp_listener_t::set_address (cosnt char *protocol_, const char *addr_)
+int zmq::tcp_listener_t::set_address (const char *protocol_, const char *addr_)
{
// IPC protocol is not supported on Windows platform.
if (strcmp (protocol_, "tcp") != 0 ) {