The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=498b0abe55eaace4615ca5cfba1fe6cc6129a3dd

commit 498b0abe55eaace4615ca5cfba1fe6cc6129a3dd
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2025-03-03 21:37:00 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2025-03-03 21:38:13 +0000

    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
    <machine/metadata.h> 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 4edabd4e5812..8b458cd08b00 100644
--- a/sys/sys/efi_map.h
+++ b/sys/sys/efi_map.h
@@ -10,6 +10,8 @@
 #include <sys/efi.h>
 #include <machine/metadata.h>
 
+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,

Reply via email to