summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-08-21 19:03:26 +0000
committerimp <imp@FreeBSD.org>2002-08-21 19:03:26 +0000
commiteb79b6a23b52be0104b1bef2bea214428cc54aaa (patch)
tree3c621704b8001ed21b9efc410be666bdef60be5a /libexec
parentbe9b963545f5aecc4a49b9373d749b35fe72bef4 (diff)
downloadFreeBSD-src-eb79b6a23b52be0104b1bef2bea214428cc54aaa.zip
FreeBSD-src-eb79b6a23b52be0104b1bef2bea214428cc54aaa.tar.gz
Include stddef.h for NULL definition, rather than rolling our own here.
Reviewed by: jdp
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libexec/rtld-elf/malloc.c b/libexec/rtld-elf/malloc.c
index 1e0664c..ed0d1fd 100644
--- a/libexec/rtld-elf/malloc.c
+++ b/libexec/rtld-elf/malloc.c
@@ -52,6 +52,7 @@ static char *rcsid = "$FreeBSD$";
#include <paths.h>
#include <stdlib.h>
#include <string.h>
+#include <stddef.h>
#include <unistd.h>
#include <sys/param.h>
#include <sys/mman.h>
@@ -65,8 +66,6 @@ static char *rcsid = "$FreeBSD$";
#define NEED_DEV_ZERO 1
#endif
-#define NULL 0
-
static void morecore();
static int findbucket();
OpenPOWER on IntegriCloud