summaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/spa_boot.c')
-rw-r--r--module/zfs/spa_boot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/zfs/spa_boot.c b/module/zfs/spa_boot.c
index a6cdb8189..be79542c9 100644
--- a/module/zfs/spa_boot.c
+++ b/module/zfs/spa_boot.c
@@ -24,6 +24,8 @@
* Use is subject to license terms.
*/
+#ifdef _KERNEL
+
#include <sys/zio.h>
#include <sys/spa.h>
#include <sys/sunddi.h>
@@ -44,3 +46,5 @@ spa_free_bootprop(char *value)
{
ddi_prop_free(value);
}
+
+#endif /* _KERNEL */