diff --git a/sys/boot/efi/loader/main.c b/sys/boot/efi/loader/main.c index 3a97bd4cee92..129fd72068ba 100644 --- a/sys/boot/efi/loader/main.c +++ b/sys/boot/efi/loader/main.c @@ -74,12 +74,13 @@ EFI_GUID inputid = SIMPLE_TEXT_INPUT_PROTOCOL; static EFI_LOADED_IMAGE *img; +#ifdef EFI_ZFS_BOOT bool efi_zfs_is_preferred(EFI_HANDLE *h) { return (h == img->DeviceHandle); } - +#endif static int has_keyboard(void)