]> 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:05:55 +0000 (13:05 -0500)
commit97494d898473a416b99b4b54faaf612dc739e0dc
tree291312669a4bfa6c6198571ba03c4c39b922d9df
parent3303defd3fa01b2698a6aa766b43deb01aee3efa
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