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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user