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.
This commit is contained in:
parent
f44c441ee6
commit
467535dcfa
@ -37,10 +37,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/reboot.h>
|
||||
|
||||
#include "bootstrap.h"
|
||||
|
||||
#ifdef LOADER_ZFS_SUPPORT
|
||||
#include "libzfs.h"
|
||||
#endif
|
||||
|
||||
COMMAND_SET(lszfs, "lszfs", "list child datasets of a zfs dataset",
|
||||
command_lszfs);
|
||||
|
Loading…
Reference in New Issue
Block a user