summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/sysevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/sysevent.h')
-rw-r--r--usr/src/uts/common/sys/sysevent.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr/src/uts/common/sys/sysevent.h b/usr/src/uts/common/sys/sysevent.h
index 5dcaa69c6d..255e98b871 100644
--- a/usr/src/uts/common/sys/sysevent.h
+++ b/usr/src/uts/common/sys/sysevent.h
@@ -28,19 +28,12 @@
#define _SYS_SYSEVENT_H
#include <sys/nvpair.h>
+#include <sys/null.h>
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef NULL
-#if defined(_LP64) && !defined(__cplusplus)
-#define NULL 0L
-#else
-#define NULL 0
-#endif
-#endif
-
/* Internal registration class and subclass */
#define EC_ALL "register_all_classes"
#define EC_SUB_ALL "register_all_subclasses"