summaryrefslogtreecommitdiff
path: root/usr/src/ucbhead/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/ucbhead/stdio.h')
-rw-r--r--usr/src/ucbhead/stdio.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/ucbhead/stdio.h b/usr/src/ucbhead/stdio.h
index dd6cc3bce9..1ba873295e 100644
--- a/usr/src/ucbhead/stdio.h
+++ b/usr/src/ucbhead/stdio.h
@@ -48,6 +48,7 @@
#include <sys/va_list.h>
#include <stdio_tag.h>
#include <stdio_impl.h>
+#include <sys/null.h>
#ifdef __cplusplus
extern "C" {
@@ -77,10 +78,6 @@ typedef long ssize_t;
typedef long fpos_t;
-#ifndef NULL
-#define NULL 0
-#endif
-
#define BUFSIZ 1024
#if defined(__i386)