From 97494d898473a416b99b4b54faaf612dc739e0dc Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Sun, 26 Apr 2020 13:08:49 +0200 Subject: [PATCH] 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 --- main/dns_txt.c | 1 + 1 file changed, 1 insertion(+) 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"