From b2c68bc22b43d242744ea52da4f6606cd2c736cf Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Wed, 26 Aug 2015 09:45:23 +0200 Subject: [PATCH] Add missing include of . POSIX states that sockaddr_in6 should be declared in . By including this header, the code now builds on FreeBSD and CloudABI. --- bufferevent-internal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bufferevent-internal.h b/bufferevent-internal.h index 0b73d920..c84f09c0 100644 --- a/bufferevent-internal.h +++ b/bufferevent-internal.h @@ -44,6 +44,9 @@ extern "C" { #ifdef _WIN32 #include #endif +#ifdef EVENT__HAVE_NETINET_IN_H +#include +#endif #ifdef EVENT__HAVE_NETINET_IN6_H #include #endif