loader: fix non-zfs build
We can not include zfs headers while building without zfs. Reported by: Oscar Holmlund
This commit is contained in:
parent
e1c8f8f87d
commit
1dc762d4fb
@ -36,7 +36,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/param.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/boot.h>
|
||||
#ifdef EFI_ZFS_BOOT
|
||||
#include <sys/zfs_bootenv.h>
|
||||
#endif
|
||||
#include <paths.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/psl.h>
|
||||
#include <sys/disk.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/zfs_bootenv.h>
|
||||
#include <common/drv.h>
|
||||
|
||||
#include "bootstrap.h"
|
||||
@ -50,6 +49,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include "btxv86.h"
|
||||
|
||||
#ifdef LOADER_ZFS_SUPPORT
|
||||
#include <sys/zfs_bootenv.h>
|
||||
#include "libzfs.h"
|
||||
#endif
|
||||
|
||||
|
@ -26,7 +26,9 @@ __FBSDID("$FreeBSD$");
|
||||
#endif
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/queue.h>
|
||||
#ifdef LOADER_ZFS_SUPPORT
|
||||
#include <sys/zfs_bootenv.h>
|
||||
#endif
|
||||
|
||||
#include <machine/bootinfo.h>
|
||||
#include <machine/elf.h>
|
||||
|
Loading…
Reference in New Issue
Block a user