diff options
-rw-r--r-- | src/tcp_connecter.cpp | 2 | ||||
-rw-r--r-- | src/tcp_listener.cpp | 4 |
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 ) { |