aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGraham Stott <grahams@rcp.co.uk>1999-01-06 09:36:50 -0800
committerPer Bothner <bothner@gcc.gnu.org>1999-01-06 09:36:50 -0800
commit36635152c9a0ee8d0785a2ac79c734fda79594d4 (patch)
treefd39053374ce21d424dc562f392bf8ee0358f2c7 /gcc
parent0d34ccb7f2c11bb13dae156b05b4ca4ccff0eda1 (diff)
downloadgcc-36635152c9a0ee8d0785a2ac79c734fda79594d4.zip
gcc-36635152c9a0ee8d0785a2ac79c734fda79594d4.tar.gz
gcc-36635152c9a0ee8d0785a2ac79c734fda79594d4.tar.bz2
parse.y: include system.h instead of including standard headers directly with the...
8 * parse.y : include system.h instead of including standard headers directly with the exception of <dirent.h>. From-SVN: r24519
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/parse.y12
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 60065d2..fe7c775 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -46,17 +46,9 @@ Some rules have been modified to support JDK1.1 inner classes
definitions and other extensions. */
%{
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <dirent.h>
-#ifdef __STDC__
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
#include "config.h"
+#include "system.h"
+#include <dirent.h>
#include "tree.h"
#include "rtl.h"
#include "obstack.h"