There is just a small number of definitions we need from uapi/linux/elf.h and asm/elf.h and the relocation code is self-contained. Signed-off-by: Nikos Nikoleris <nikos.nikoleris@xxxxxxx> --- arm/efi/reloc_aarch64.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arm/efi/reloc_aarch64.c b/arm/efi/reloc_aarch64.c index fa0cd6b..3f6d9a6 100644 --- a/arm/efi/reloc_aarch64.c +++ b/arm/efi/reloc_aarch64.c @@ -34,8 +34,7 @@ SUCH DAMAGE. */ -#include "efi.h" -#include <elf.h> +#include <efi.h> efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t image, efi_system_table_t *sys_tab) -- 2.25.1