summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/stdlib.h')
-rw-r--r--newlib/libc/include/stdlib.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index c3cb55203..5340e364b 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -12,6 +12,7 @@
#define __need_size_t
#define __need_wchar_t
+#define __need_NULL
#include <stddef.h>
#include <sys/reent.h>
@@ -46,10 +47,6 @@ typedef struct
} lldiv_t;
#endif
-#ifndef NULL
-#define NULL 0
-#endif
-
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0