mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 21:50:49 +01:00
Merge pull request #3391 from bluca/listener_unistd
Problem: build broken with newer gcc
This commit is contained in:
@@ -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_,
|
||||||
|
|||||||
Reference in New Issue
Block a user