parse.y: include system.h instead of including standard headers directly with the...
authorGraham Stott <grahams@rcp.co.uk>
Wed, 6 Jan 1999 17:36:50 +0000 (09:36 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Wed, 6 Jan 1999 17:36:50 +0000 (09:36 -0800)
8
* parse.y : include system.h instead of including
standard headers directly with the exception of <dirent.h>.

From-SVN: r24519

gcc/java/parse.y

index 60065d248e603ae2eb85853228fd58b53de1941a..fe7c7759229def61907fdc5e3139f9798ff376d2 100644 (file)
@@ -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"