]> 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 15:48:53 +0000 (10:48 -0500)
commit2a7a252ba136e556201bdd97432123c12c8ab135
tree853b58bb4305773a65affe184b393b5814f41ce5
parentf3eaf2b7d1c08ca9fe2ea7b2bb5319000cc0fcb4
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