mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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: 125877c92d ("arm64: Split EFI map parsing code to a common file")
This commit is contained in:
parent
cd6ed24ba4
commit
498b0abe55
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue