]> git.ipfire.org Git - thirdparty/asterisk.git/commit
core/dns: Add system include required on FreeBSD
authorGuido Falsi <madpilot@FreeBSD.org>
Sun, 26 Apr 2020 11:08:49 +0000 (13:08 +0200)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 28 Apr 2020 18:06:20 +0000 (13:06 -0500)
commit25000040229ac8761f9e843b98d130d7623c32d2
treec79a95f7ca469f7abad39d59a3ecdfa25403c7e3
parent747dc9e830aa1513cda0dc11af017bef702cf873
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