summaryrefslogtreecommitdiff
path: root/stand/efi/loader/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/efi/loader/main.c')
-rw-r--r--stand/efi/loader/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index 2f1add17b3187..06e517ba76d1e 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -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>