diff options
Diffstat (limited to 'module/zcommon')
-rw-r--r-- | module/zcommon/zfs_prop.c | 1 | ||||
-rw-r--r-- | module/zcommon/zpool_prop.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c index d62eec3f0..3a005b687 100644 --- a/module/zcommon/zfs_prop.c +++ b/module/zcommon/zfs_prop.c @@ -857,6 +857,7 @@ zfs_prop_valid_keylocation(const char *str, boolean_t encrypted) #ifndef _KERNEL +#include <libzfs.h> /* * Returns a string describing the set of acceptable values for the given diff --git a/module/zcommon/zpool_prop.c b/module/zcommon/zpool_prop.c index 155d557f4..3cfb435e4 100644 --- a/module/zcommon/zpool_prop.c +++ b/module/zcommon/zpool_prop.c @@ -235,6 +235,7 @@ zpool_prop_random_value(zpool_prop_t prop, uint64_t seed) } #ifndef _KERNEL +#include <libzfs.h> const char * zpool_prop_values(zpool_prop_t prop) |