From: Guido Falsi Date: Sun, 26 Apr 2020 11:08:49 +0000 (+0200) Subject: core/dns: Add system include required on FreeBSD X-Git-Tag: 17.4.0-rc2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a7a252ba136e556201bdd97432123c12c8ab135;p=thirdparty%2Fasterisk.git core/dns: Add system include required on FreeBSD While testing the latest RC on FreeBSD I noticed this new file fails to build. On FreeBSD inlcuding resolv.h requires sockaddr_in to be defined, and it's defined in netinet/in.h. So I added this include. ASTERISK-28853 #close Change-Id: I6997daf3956e6eb70ab6cb358628d162fad80079 --- diff --git a/main/dns_txt.c b/main/dns_txt.c index 5c1c581785..4daae312a1 100644 --- a/main/dns_txt.c +++ b/main/dns_txt.c @@ -27,6 +27,7 @@ #include "asterisk.h" +#include #include #include "asterisk/dns_core.h"