summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-19 23:46:48 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-19 23:46:48 +0000
commitcbc25bc4725638b378ba35026a41cb2dee695aae (patch)
tree61ff65bca3aefca6885d5d55489dff941c729ff8
parent64266ab6825d8da9e4b8dac49c3107716061a1c6 (diff)
Define __need_NULL to get definition of NULL.
-rw-r--r--sysdeps/generic/_G_config.h1
-rw-r--r--sysdeps/unix/sysv/linux/_G_config.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/_G_config.h b/sysdeps/generic/_G_config.h
index b2adcc0e8a..dcdf900820 100644
--- a/sysdeps/generic/_G_config.h
+++ b/sysdeps/generic/_G_config.h
@@ -9,6 +9,7 @@
#include <gnu/types.h>
#define __need_size_t
#define __need_wint_t
+#define __need_NULL
#include <stddef.h>
#ifndef _WINT_T
/* Integral type unchanged by default argument promotions that can
diff --git a/sysdeps/unix/sysv/linux/_G_config.h b/sysdeps/unix/sysv/linux/_G_config.h
index a3e6e3db2f..26c269acb9 100644
--- a/sysdeps/unix/sysv/linux/_G_config.h
+++ b/sysdeps/unix/sysv/linux/_G_config.h
@@ -9,6 +9,7 @@
#include <gnu/types.h>
#define __need_size_t
#define __need_wint_t
+#define __need_NULL
#include <stddef.h>
#ifndef _WINT_T
/* Integral type unchanged by default argument promotions that can