Merge pull request #3391 from bluca/listener_unistd

Problem: build broken with newer gcc
This commit is contained in:
Simon Giesecke
2019-02-05 14:13:31 -05:00
committed by GitHub

View File

@@ -33,6 +33,12 @@
#include "socket_base.hpp"
#include "stream_engine.hpp"
#ifndef ZMQ_HAVE_WINDOWS
#include <unistd.h>
#else
#include <winsock2.h>
#endif
zmq::stream_listener_base_t::stream_listener_base_t (
zmq::io_thread_t *io_thread_,
zmq::socket_base_t *socket_,