Unverified Commit b38e342b authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #1004

fixes compile error in libcaf_openssl/middleman_actor.cpp on windows
parents 044e247f 39614a24
......@@ -18,6 +18,14 @@
#include "caf/io/middleman_actor.hpp"
#ifdef CAF_WINDOWS
# include <winsock2.h>
# include <ws2tcpip.h> // socket_size_type, etc. (MSVC20xx)
#else
# include <sys/socket.h>
# include <sys/types.h>
#endif
#include <stdexcept>
#include <tuple>
#include <utility>
......@@ -42,14 +50,6 @@
#include "caf/openssl/session.hpp"
#ifdef CAF_WINDOWS
# include <winsock2.h>
# include <ws2tcpip.h> // socket_size_type, etc. (MSVC20xx)
#else
# include <sys/socket.h>
# include <sys/types.h>
#endif
namespace caf::openssl {
namespace {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment