0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-15 02:07:59 +08:00

Problem: build broken with newer gcc

Solution: add missing includes to stream_listener_base
This commit is contained in:
Luca Boccassi 2019-02-05 18:57:33 +00:00
parent 0b4bb92395
commit 2df988eec3

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_,