diff options
-rw-r--r-- | module/os/freebsd/zfs/kmod_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/os/freebsd/zfs/kmod_core.c b/module/os/freebsd/zfs/kmod_core.c index 2e16cf123..17e9e8dff 100644 --- a/module/os/freebsd/zfs/kmod_core.c +++ b/module/os/freebsd/zfs/kmod_core.c @@ -398,7 +398,11 @@ EVENTHANDLER_DEFINE(mountroot, spa_boot_init, NULL, 0); DECLARE_MODULE(zfsctrl, zfs_mod, SI_SUB_CLOCKS, SI_ORDER_ANY); MODULE_VERSION(zfsctrl, 1); +#if __FreeBSD_version > 1300092 +MODULE_DEPEND(zfsctrl, xdr, 1, 1, 1); +#else MODULE_DEPEND(zfsctrl, krpc, 1, 1, 1); +#endif MODULE_DEPEND(zfsctrl, acl_nfs4, 1, 1, 1); MODULE_DEPEND(zfsctrl, crypto, 1, 1, 1); MODULE_DEPEND(zfsctrl, cryptodev, 1, 1, 1); |