aout.h: Fix missing include.
authorPeter Jones <pjones@redhat.com>
Wed, 21 Feb 2018 20:20:23 +0000 (15:20 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 5 Mar 2018 12:44:55 +0000 (13:44 +0100)
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>
include/grub/aout.h

index 10d7dde..c8c1d94 100644 (file)
@@ -52,6 +52,7 @@
 #define GRUB_AOUT_HEADER 1
 
 #include <grub/types.h>
+#include <grub/file.h>
 
 struct grub_aout32_header
 {