mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 09:47:56 +08:00
Merge pull request #3391 from bluca/listener_unistd
Problem: build broken with newer gcc
This commit is contained in:
commit
9b1627f041
@ -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_,
|
||||
|
Loading…
x
Reference in New Issue
Block a user