diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2020-09-23 19:15:22 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2020-09-23 19:15:22 +0000 |
commit | 1dc762d4fb032506ef0ffdef9cb549a430d29173 (patch) | |
tree | b7bd01816558ef161a66aac0f3f4351533deb3d6 /stand/i386/zfsboot | |
parent | e1c8f8f87d1117b68bf7ffcbc9cc3eb83c0f1e9f (diff) | |
download | src-1dc762d4fb032506ef0ffdef9cb549a430d29173.tar.gz src-1dc762d4fb032506ef0ffdef9cb549a430d29173.zip |
loader: fix non-zfs build
We can not include zfs headers while building without zfs.
Reported by: Oscar Holmlund
Notes
Notes:
svn path=/head/; revision=366087
Diffstat (limited to 'stand/i386/zfsboot')
-rw-r--r-- | stand/i386/zfsboot/zfsboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/i386/zfsboot/zfsboot.c b/stand/i386/zfsboot/zfsboot.c index 9e66e89f4d43..ed791f14a1f3 100644 --- a/stand/i386/zfsboot/zfsboot.c +++ b/stand/i386/zfsboot/zfsboot.c @@ -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> |