From: Ed Schouten Date: Wed, 26 Aug 2015 07:45:23 +0000 (+0200) Subject: Add missing include of . X-Git-Tag: release-2.1.6-beta~90^2~44^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2c68bc22b43d242744ea52da4f6606cd2c736cf;p=libevent 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. --- 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