Merge branch 'efi/queue' into 'master'
efi: Another x86 fix the fdt_check_header addition
See merge request kvm-unit-tests/kvm-unit-tests!56
diff --git a/lib/efi.c b/lib/efi.c
index 4433783..f396bd7 100644
--- a/lib/efi.c
+++ b/lib/efi.c
@@ -12,7 +12,6 @@
#include <stdlib.h>
#include <asm/setup.h>
#include "efi.h"
-#include "libfdt/libfdt.h"
/* From each arch */
extern char *initrd;
@@ -205,6 +204,7 @@
}
#if defined(__aarch64__) || defined(__riscv)
+#include "libfdt/libfdt.h"
/*
* Open the file and read it into a buffer.
*/