From 467535dcfaa6be42efe0fe8be9582cafc5dfb812 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Tue, 16 Jun 2020 07:30:34 +0000 Subject: [PATCH] loader: zfs_cmd.c does not really compile without libzfs.h Having libzfs.h wrapped in LOADER_ZFS_SUPPORT check does not really make sense, because we do need function declarations with C99. Sponsored by: Netflix, Klara Inc. --- stand/common/zfs_cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/stand/common/zfs_cmd.c b/stand/common/zfs_cmd.c index 5f27f76b7885..cee5b8993210 100644 --- a/stand/common/zfs_cmd.c +++ b/stand/common/zfs_cmd.c @@ -37,10 +37,7 @@ __FBSDID("$FreeBSD$"); #include #include "bootstrap.h" - -#ifdef LOADER_ZFS_SUPPORT #include "libzfs.h" -#endif COMMAND_SET(lszfs, "lszfs", "list child datasets of a zfs dataset", command_lszfs);