diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-08-21 19:03:26 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-08-21 19:03:26 +0000 |
commit | 7b5564b2ee16671807427760130f320ce24186d0 (patch) | |
tree | 3c621704b8001ed21b9efc410be666bdef60be5a /libexec/rtld-elf | |
parent | 24a45ad20229b1039b7855a66be0ab7eab12cae3 (diff) | |
download | src-7b5564b2ee16671807427760130f320ce24186d0.tar.gz src-7b5564b2ee16671807427760130f320ce24186d0.zip |
Include stddef.h for NULL definition, rather than rolling our own here.
Reviewed by: jdp
Notes
Notes:
svn path=/head/; revision=102235
Diffstat (limited to 'libexec/rtld-elf')
-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 1e0664ce3195..ed0d1fd1ffce 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(); |