Print this page
8115 parallel zfs mount

@@ -19,10 +19,12 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2017 RackTop Systems.
  */
 
 #ifndef _SYS_KICONV_H
 #define _SYS_KICONV_H
 

@@ -30,11 +32,11 @@
 extern "C" {
 #endif
 
 #include <sys/types.h>
 
-#ifdef  _KERNEL
+#if defined(_KERNEL) || defined(_FAKE_KERNEL)
 
 /*
  * Supported fromcode/tocode values are saved in the following component type
  * of (name, id) pair. The id values of fromcode and tocode are used to
  * find out the corresponding code conversions.