Unverified Commit b14bb2d8 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3388 from sigiesec/add-missing-include

Problem: missing include directive for close/closesocket
parents b8b1b8de ded4ff6f
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
#include "address.hpp" #include "address.hpp"
#include "random.hpp" #include "random.hpp"
#ifndef ZMQ_HAVE_WINDOWS
#include <unistd.h>
#else
#include <winsock2.h>
#endif
zmq::stream_connecter_base_t::stream_connecter_base_t ( zmq::stream_connecter_base_t::stream_connecter_base_t (
zmq::io_thread_t *io_thread_, zmq::io_thread_t *io_thread_,
zmq::session_base_t *session_, zmq::session_base_t *session_,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment