aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-parse.y')
-rw-r--r--gcc/c-parse.y9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/c-parse.y b/gcc/c-parse.y
index ac9138df393..aba326d02b9 100644
--- a/gcc/c-parse.y
+++ b/gcc/c-parse.y
@@ -55,9 +55,7 @@ State 434 contains 2 shift/reduce conflicts. (Four ways to parse this.) */
%{
#include "config.h"
-
-#include <stdio.h>
-#include <errno.h>
+#include "system.h"
#include <setjmp.h>
#include "tree.h"
@@ -68,7 +66,6 @@ State 434 contains 2 shift/reduce conflicts. (Four ways to parse this.) */
#include "output.h"
#ifdef MULTIBYTE_CHARS
-#include <stdlib.h>
#include <locale.h>
#endif
@@ -77,10 +74,6 @@ State 434 contains 2 shift/reduce conflicts. (Four ways to parse this.) */
definition here. */
char *language_string = "GNU C";
-#ifndef errno
-extern int errno;
-#endif
-
/* Like YYERROR but do call yyerror. */
#define YYERROR1 { yyerror ("syntax error"); YYERROR; }