diff options
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r-- | gcc/genopinit.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c index 3087e381c99..6ee2f4fd859 100644 --- a/gcc/genopinit.c +++ b/gcc/genopinit.c @@ -1,5 +1,5 @@ /* Generate code to initialize optabs from machine description. - Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of GNU CC. @@ -25,6 +25,11 @@ Boston, MA 02111-1307, USA. */ #include "obstack.h" #include <ctype.h> +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif + + static struct obstack obstack; struct obstack *rtl_obstack = &obstack; @@ -354,6 +359,7 @@ main (argc, argv) from the machine description file `md'. */\n\n"); printf ("#include \"config.h\"\n"); + printf ("#include <stdio.h>\n"); printf ("#include \"rtl.h\"\n"); printf ("#include \"flags.h\"\n"); printf ("#include \"insn-flags.h\"\n"); |