Unverified Commit 9b1627f0 authored by Simon Giesecke's avatar Simon Giesecke Committed by GitHub

Merge pull request #3391 from bluca/listener_unistd

Problem: build broken with newer gcc
parents 0b4bb923 2df988ee
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
#include "socket_base.hpp" #include "socket_base.hpp"
#include "stream_engine.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::stream_listener_base_t::stream_listener_base_t (
zmq::io_thread_t *io_thread_, zmq::io_thread_t *io_thread_,
zmq::socket_base_t *socket_, zmq::socket_base_t *socket_,
......
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