diff options
Diffstat (limited to 'tests/zfs-tests')
-rw-r--r-- | tests/zfs-tests/cmd/file_trunc/file_trunc.c | 2 | ||||
-rw-r--r-- | tests/zfs-tests/cmd/mktree/mktree.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/zfs-tests/cmd/file_trunc/file_trunc.c b/tests/zfs-tests/cmd/file_trunc/file_trunc.c index 38e36c9d4..f9431300b 100644 --- a/tests/zfs-tests/cmd/file_trunc/file_trunc.c +++ b/tests/zfs-tests/cmd/file_trunc/file_trunc.c @@ -35,10 +35,8 @@ #include <errno.h> #include <fcntl.h> #include <sys/types.h> -#include <sys/fcntl.h> #include <sys/stat.h> #include <sys/statvfs.h> -#include <sys/errno.h> #include <sys/time.h> #include <sys/ioctl.h> #include <sys/wait.h> diff --git a/tests/zfs-tests/cmd/mktree/mktree.c b/tests/zfs-tests/cmd/mktree/mktree.c index 95d31a652..3dc3dd8ec 100644 --- a/tests/zfs-tests/cmd/mktree/mktree.c +++ b/tests/zfs-tests/cmd/mktree/mktree.c @@ -24,6 +24,7 @@ * Use is subject to license terms. */ +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -32,7 +33,6 @@ #include <attr/xattr.h> #include <sys/stat.h> #include <sys/types.h> -#include <sys/errno.h> #include <sys/param.h> #define TYPE_D 'D' |