mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-15 14:30:49 -04:00
Include <stdlib.h> in lib/dns/dnsrps.c
Since commit 0771dd3be8, <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
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
#ifdef USE_DNSRPS
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <isc/mem.h>
|
||||
#include <isc/string.h>
|
||||
#include <isc/util.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue