aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index a86332d49e3..2213b2e134f 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -4920,7 +4920,8 @@ from the machine description file `md'. */\n\n");
printf ("#include \"recog.h\"\n");
printf ("#include \"regs.h\"\n");
printf ("#include \"output.h\"\n");
- printf ("#include \"toplev.h\"\n");
+ printf ("#include \"diagnostic-core.h\"\n"
+ "#include \"toplev.h\"\n");
printf ("#include \"flags.h\"\n");
printf ("#include \"function.h\"\n");
printf ("\n");