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, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/mode.h b/usr/src/uts/common/sys/mode.h
index 1d0ad60f82..a628a3f8d4 100644
--- a/usr/src/uts/common/sys/mode.h
+++ b/usr/src/uts/common/sys/mode.h
@@ -21,6 +21,8 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -30,7 +32,7 @@
#ifndef _SYS_MODE_H
#define _SYS_MODE_H
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_FAKE_KERNEL)
#include <sys/stat.h>
#include <sys/vnode.h>