diff options
author | Nathan Keynes <Nathan.Keynes@Sun.COM> | 2009-08-25 19:26:24 -0700 |
---|---|---|
committer | Nathan Keynes <Nathan.Keynes@Sun.COM> | 2009-08-25 19:26:24 -0700 |
commit | ec265339f1886c217b266b8da0883d1857c34428 (patch) | |
tree | ad99233e4904f1599e5fce19987918ab5d00edd4 | |
parent | aebdfce800eec0973de8dbcd7ec522064210ee21 (diff) | |
download | illumos-joyent-ec265339f1886c217b266b8da0883d1857c34428.tar.gz |
6845982 gcc4 cleanup breaks userspace builds
-rw-r--r-- | usr/src/uts/common/sys/mode.h | 4 |
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 */ |