Missing include statement in dnsrps.c
Commit 0771dd3b has introduced a build error on FreeBSD 11. From https://jenkins.isc.org/view/BIND/job/bind9-master-freebsd11-64/1355:
dnsrps.c: In function 'rpsdb_rdataset_disassociate':
dnsrps.c:669:3: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration]
free(RD_CUR_RR(rdataset));
^~~~
dnsrps.c:669:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
dnsrps.c:669:3: note: include '<stdlib.h>' or provide a declaration of 'free'
dnsrps.c: In function 'rpsdb_rdataset_next':
dnsrps.c:692:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
free(RD_CUR_RR(rdataset));
^~~~
dnsrps.c:692:3: note: include '<stdlib.h>' or provide a declaration of 'free'
dnsrps.c:729:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
free(rr);
^~~~
dnsrps.c:729:3: note: include '<stdlib.h>' or provide a declaration of 'free'
dnsrps.c: In function 'rpsdb_rdataset_first':
dnsrps.c:742:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
free(RD_CUR_RR(rdataset));
^~~~
dnsrps.c:742:3: note: include '<stdlib.h>' or provide a declaration of 'free'
cc1: all warnings being treated as errors
*** Error code 1
Edited by Michał Kępień