diff --git a/module/zfs/spa_boot.c b/module/zfs/spa_boot.c index 49e9e50193..920feecb24 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 + #pragma ident "%Z%%M% %I% %E% SMI" #include @@ -45,3 +47,5 @@ spa_free_bootprop(char *value) { ddi_prop_free(value); } + +#endif /* _KERNEL */