From ded4ff6fd2781314a12578af4de52c90ab05e7d5 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Tue, 5 Feb 2019 09:21:06 -0500 Subject: [PATCH] Problem: missing include directive for close/closesocket Solution: add appropriate includes --- src/stream_connecter_base.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/stream_connecter_base.cpp b/src/stream_connecter_base.cpp index 23de90fe..bf7db348 100644 --- a/src/stream_connecter_base.cpp +++ b/src/stream_connecter_base.cpp @@ -33,6 +33,12 @@ #include "address.hpp" #include "random.hpp" +#ifndef ZMQ_HAVE_WINDOWS +#include +#else +#include +#endif + zmq::stream_connecter_base_t::stream_connecter_base_t ( zmq::io_thread_t *io_thread_, zmq::session_base_t *session_,