summaryrefslogtreecommitdiff
path: root/usr/src/common/smbsrv/smb_native.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/common/smbsrv/smb_native.c')
-rw-r--r--usr/src/common/smbsrv/smb_native.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/common/smbsrv/smb_native.c b/usr/src/common/smbsrv/smb_native.c
index 592121461f..3489f28530 100644
--- a/usr/src/common/smbsrv/smb_native.c
+++ b/usr/src/common/smbsrv/smb_native.c
@@ -21,6 +21,8 @@
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
@@ -28,7 +30,7 @@
* LanMan names to values.
*/
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_FAKE_KERNEL)
#include <sys/types.h>
#include <sys/sunddi.h>
#else