diff --git a/ChangeLog b/ChangeLog index 2053f2d59..78378f597 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-06-11 Pavel Roskin + * loader/ieee1275/multiboot2.c [__i386__]: Include + grub/cpu/multiboot.h. + * term/i386/pc/serial.c (serial_translate_key_sequence): Avoid casts to short - they are not portable and cause warnings. Fix use of uninitialized values in input_buf. Use ARRAY_SIZE. diff --git a/loader/ieee1275/multiboot2.c b/loader/ieee1275/multiboot2.c index 61f21b0e5..d1444ceff 100644 --- a/loader/ieee1275/multiboot2.c +++ b/loader/ieee1275/multiboot2.c @@ -27,6 +27,9 @@ #include #include #include +#ifdef __i386__ +#include +#endif typedef void (*kernel_entry_t) (unsigned long, void *, int (void *), unsigned long, unsigned long);