]> git.ipfire.org Git - thirdparty/bind9.git/commit
Include <stdlib.h> in lib/dns/dnsrps.c
authorMichał Kępień <michal@isc.org>
Wed, 26 Jun 2019 06:37:31 +0000 (08:37 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 26 Jun 2019 06:45:23 +0000 (08:45 +0200)
commit6cfcc6e8a2eb714014d8823b404fbe1fb598064c
treed57191dc6073be6d64062d22d4e277f6f3209293
parent42013c43f3b0b250d5372c285363aebc6ec6dcf7
Include <stdlib.h> in lib/dns/dnsrps.c

Since commit 0771dd3be8bad18f669de978f3be5e08cf2dbd6e, <isc/mem.h> no
longer includes <isc/xml.h>.  On some systems (e.g. FreeBSD), this means
that no header included by lib/dns/dnsrps.c (and no header included by
those headers) contains a definition of free() any more, which triggers
a compiler warning as lib/dns/dnsrps.c calls that function.  Add the
missing #include directive to prevent that warning from being triggered.
lib/dns/dnsrps.c