mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 10:18:01 +08:00
Problem: build broken with newer gcc
Solution: add missing includes to stream_listener_base
This commit is contained in:
parent
0b4bb92395
commit
2df988eec3
@ -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_,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user