Re: [PATCH v3 1/7] aout.h: Fix missing include.

2018-02-23 Thread Daniel Kiper
On Wed, Feb 21, 2018 at 03:20:23PM -0500, Peter Jones wrote:
> 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 

Reviewed-by: Daniel Kiper 

Daniel

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


[PATCH v3 1/7] aout.h: Fix missing include.

2018-02-21 Thread Peter Jones
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 
---
 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 
+#include 
 
 struct grub_aout32_header
 {
-- 
2.15.0


___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel