summaryrefslogtreecommitdiff
path: root/gcc/treelang/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/treelang/parse.y')
-rw-r--r--gcc/treelang/parse.y14
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/treelang/parse.y b/gcc/treelang/parse.y
index 7d7400f72bb..1f8cf221d61 100644
--- a/gcc/treelang/parse.y
+++ b/gcc/treelang/parse.y
@@ -42,20 +42,10 @@
*/
-/* Undefine IN_GCC so malloc etc work. The alternative is to redefine
- the out of stack routine in bison. */
-#undef IN_GCC
-/* Front ends should not have to see these, but config.h needs everything. */
-typedef void *tree;
-typedef void *rtx;
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "ansidecl.h"
#include "config.h"
#include "system.h"
+#include "coretypes.h"
+#include "tm.h"
#include "diagnostic.h"
#include "treelang.h"