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 authored and Daniel Kiper committed 2018-03-05 13:44:55 +01:00
1 parent 72b425b640
commit e1ead149ef
1 file changed
+1
+1
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
{ {