diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mount_zfs/mount_zfs.c | 1 | ||||
-rw-r--r-- | cmd/zed/agents/zfs_diagnosis.c | 1 | ||||
-rw-r--r-- | cmd/zed/agents/zfs_mod.c | 1 | ||||
-rw-r--r-- | cmd/zfs/zfs_iter.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mount_zfs/mount_zfs.c b/cmd/mount_zfs/mount_zfs.c index 47f2a9ed9..d0d65fb94 100644 --- a/cmd/mount_zfs/mount_zfs.c +++ b/cmd/mount_zfs/mount_zfs.c @@ -34,6 +34,7 @@ #include <locale.h> #include <getopt.h> #include <fcntl.h> +#include <errno.h> #define ZS_COMMENT 0x00000000 /* comment */ #define ZS_ZFSUTIL 0x00000001 /* caller is zfs(8) */ diff --git a/cmd/zed/agents/zfs_diagnosis.c b/cmd/zed/agents/zfs_diagnosis.c index bb8db6af5..0b27f6702 100644 --- a/cmd/zed/agents/zfs_diagnosis.c +++ b/cmd/zed/agents/zfs_diagnosis.c @@ -26,6 +26,7 @@ */ #include <stddef.h> +#include <string.h> #include <strings.h> #include <libuutil.h> #include <libzfs.h> diff --git a/cmd/zed/agents/zfs_mod.c b/cmd/zed/agents/zfs_mod.c index 54568e75a..600d6527c 100644 --- a/cmd/zed/agents/zfs_mod.c +++ b/cmd/zed/agents/zfs_mod.c @@ -85,6 +85,7 @@ #include <thread_pool.h> #include <pthread.h> #include <unistd.h> +#include <errno.h> #include "zfs_agents.h" #include "../zed_log.h" diff --git a/cmd/zfs/zfs_iter.c b/cmd/zfs/zfs_iter.c index aeb98ab64..af4e4b4d2 100644 --- a/cmd/zfs/zfs_iter.c +++ b/cmd/zfs/zfs_iter.c @@ -31,6 +31,7 @@ #include <stddef.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <strings.h> #include <libzfs.h> |