summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/mode.h')
-rw-r--r--usr/src/uts/common/sys/mode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/mode.h b/usr/src/uts/common/sys/mode.h
index 41e822f623..1d0ad60f82 100644
--- a/usr/src/uts/common/sys/mode.h
+++ b/usr/src/uts/common/sys/mode.h
@@ -30,6 +30,8 @@
#ifndef _SYS_MODE_H
#define _SYS_MODE_H
+#ifdef _KERNEL
+
#include <sys/stat.h>
#include <sys/vnode.h>
@@ -51,4 +53,6 @@ extern ushort_t vttoif_tab[];
}
#endif
+#endif /* _KERNEL */
+
#endif /* _SYS_MODE_H */