From c21229192f9dd1dd40b6c8d26adf7f9502625ede Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Wed, 19 Aug 2015 23:27:51 +0300 Subject: [PATCH] be: include all variations of headers for sockaddr_in6 struct Fixes: c42bc6b279fd7cd4bc9b04c86a12e2ec5512cce1 ("be: fix sockaddr_in6 type definition for win32") Fixes: e04555155816306f23829a15b747664a57330c28 ("Merge branch 'reuse-conn_address-on-retry-v11'") CI: https://ci.appveyor.com/project/nmathewson/libevent/build/2.1.5.109 Tested: manually --- bufferevent-internal.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bufferevent-internal.h b/bufferevent-internal.h index cb30b421..0b73d920 100644 --- a/bufferevent-internal.h +++ b/bufferevent-internal.h @@ -39,7 +39,14 @@ extern "C" { #include "event2/thread.h" #include "ratelim-internal.h" #include "event2/bufferevent_struct.h" + #include "ipv6-internal.h" +#ifdef _WIN32 +#include +#endif +#ifdef EVENT__HAVE_NETINET_IN6_H +#include +#endif /* These flags are reasons that we might be declining to actually enable reading or writing on a bufferevent. -- 2.50.1