From 498b0abe55eaace4615ca5cfba1fe6cc6129a3dd Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 3 Mar 2025 16:37:00 -0500 Subject: [PATCH] sys/efi_map.h: Forward declare struct efi_map_header This fixes build failures in the test-includes stage of buildworld on powerpc which does not define a struct efi_map_header type in its header. Fixes: 125877c92d16 ("arm64: Split EFI map parsing code to a common file") --- sys/sys/efi_map.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/efi_map.h b/sys/sys/efi_map.h index 4edabd4e581..8b458cd08b0 100644 --- a/sys/sys/efi_map.h +++ b/sys/sys/efi_map.h @@ -10,6 +10,8 @@ #include #include +struct efi_map_header; + typedef void (*efi_map_entry_cb)(struct efi_md *, void *argp); void efi_map_foreach_entry(struct efi_map_header *efihdr, efi_map_entry_cb cb,