mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
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.
This commit is contained in:
parent
42013c43f3
commit
6cfcc6e8a2
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
#ifdef USE_DNSRPS
|
#ifdef USE_DNSRPS
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <isc/mem.h>
|
#include <isc/mem.h>
|
||||||
#include <isc/string.h>
|
#include <isc/string.h>
|
||||||
#include <isc/util.h>
|
#include <isc/util.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user