mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:32:09 -04:00
add print.h and string.h to files that need them
This commit is contained in:
parent
2002be4f65
commit
f6407f9a0b
2 changed files with 4 additions and 2 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include <isc/socket.h>
|
||||
#include <isc/task.h>
|
||||
#include <isc/util.h>
|
||||
#include <isc/print.h>
|
||||
|
||||
#include <dns/dispatch.h>
|
||||
#include <dns/events.h>
|
||||
|
|
|
|||
|
|
@ -15,13 +15,14 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rdata.c,v 1.82 2000/05/02 05:19:47 marka Exp $ */
|
||||
/* $Id: rdata.c,v 1.83 2000/05/02 16:36:22 explorer Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <isc/base64.h>
|
||||
#include <isc/buffer.h>
|
||||
|
|
@ -128,7 +129,7 @@ mem_maybedup(isc_mem_t *mctx, void *source, size_t length) {
|
|||
new = isc_mem_allocate(mctx, length);
|
||||
if (new != NULL)
|
||||
memcpy(new, source, length);
|
||||
|
||||
|
||||
return (new);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue