include stdio.h first in builtins.c.
This commit is contained in:
parent
d91146efac
commit
3c5fa0cfe3
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2000-08-24 OKUJI Yoshinori <okuji@gnu.org>
|
||||||
|
|
||||||
|
* stage2/builtins.c [GRUB_UTIL]: Include stdio.h before
|
||||||
|
shared.h. Reported by Mathieu Chouquet-Stringer
|
||||||
|
<mchouque@cs.stevens-tech.edu>.
|
||||||
|
|
||||||
2000-08-21 OKUJI Yoshinori <okuji@gnu.org>
|
2000-08-21 OKUJI Yoshinori <okuji@gnu.org>
|
||||||
|
|
||||||
* configure.in (--enable-serial-speed-emulation): New option.
|
* configure.in (--enable-serial-speed-emulation): New option.
|
||||||
|
|
|
@ -19,6 +19,12 @@
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Include stdio.h before shared.h, because we can't define
|
||||||
|
WITHOUT_LIBC_STUBS here. */
|
||||||
|
#ifdef GRUB_UTIL
|
||||||
|
# include <stdio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <shared.h>
|
#include <shared.h>
|
||||||
#include <filesys.h>
|
#include <filesys.h>
|
||||||
|
|
||||||
|
@ -31,7 +37,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GRUB_UTIL
|
#ifdef GRUB_UTIL
|
||||||
# include <stdio.h>
|
|
||||||
# include <device.h>
|
# include <device.h>
|
||||||
#else /* ! GRUB_UTIL */
|
#else /* ! GRUB_UTIL */
|
||||||
# include <apic.h>
|
# include <apic.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue