aout.h: Fix missing include.

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 <pjones@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Peter Jones 2018-02-21 15:20:23 -05:00 committed by Daniel Kiper
parent 72b425b640
commit e1ead149ef

View file

@ -52,6 +52,7 @@
#define GRUB_AOUT_HEADER 1 #define GRUB_AOUT_HEADER 1
#include <grub/types.h> #include <grub/types.h>
#include <grub/file.h>
struct grub_aout32_header struct grub_aout32_header
{ {