grub_aout_load() has a grub_file_t parameter, and depending on what order includes land in, it's sometimes not defined. This patch explicitly adds file.h to aout.h so that it will always be defined.
Signed-off-by: Peter Jones <pjo...@redhat.com> --- include/grub/aout.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/grub/aout.h b/include/grub/aout.h index 10d7dde61ec..c8c1d94eca5 100644 --- a/include/grub/aout.h +++ b/include/grub/aout.h @@ -52,6 +52,7 @@ #define GRUB_AOUT_HEADER 1 #include <grub/types.h> +#include <grub/file.h> struct grub_aout32_header { -- 2.15.0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel