summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/modhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/modhash.h')
-rw-r--r--usr/src/uts/common/sys/modhash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/modhash.h b/usr/src/uts/common/sys/modhash.h
index 68d1c4dedd..7f7103ecb9 100644
--- a/usr/src/uts/common/sys/modhash.h
+++ b/usr/src/uts/common/sys/modhash.h
@@ -34,7 +34,7 @@
extern "C" {
#endif
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_FAKE_KERNEL)
#include <sys/types.h>