summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/param.h')
-rw-r--r--usr/src/uts/common/sys/param.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr/src/uts/common/sys/param.h b/usr/src/uts/common/sys/param.h
index 12bdc29079..ea2fdfd886 100644
--- a/usr/src/uts/common/sys/param.h
+++ b/usr/src/uts/common/sys/param.h
@@ -45,6 +45,7 @@
#include <sys/isa_defs.h>
#endif /* _ASM */
+#include <sys/null.h>
#ifdef __cplusplus
extern "C" {
@@ -147,14 +148,6 @@ extern "C" {
#define NBPW sizeof (int) /* number of bytes in an integer */
-#ifndef NULL
-#if defined(_LP64)
-#define NULL 0L
-#else
-#define NULL 0
-#endif
-#endif
-
#define CMASK 022 /* default mask for file creation */
#define CDLIMIT (1L<<11) /* default max write address */
#define NBPS 0x20000 /* Number of bytes per segment */