diff options
author | imp <imp@FreeBSD.org> | 2002-08-21 19:03:26 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-08-21 19:03:26 +0000 |
commit | eb79b6a23b52be0104b1bef2bea214428cc54aaa (patch) | |
tree | 3c621704b8001ed21b9efc410be666bdef60be5a /libexec/rtld-elf/malloc.c | |
parent | be9b963545f5aecc4a49b9373d749b35fe72bef4 (diff) | |
download | FreeBSD-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/rtld-elf/malloc.c')
-rw-r--r-- | libexec/rtld-elf/malloc.c | 3 |
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(); |