aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/gcc.c1
-rw-r--r--gcc/system.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 450cb70..b8e74575 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * system.h: Remove sys/stat.h.
+ * gcc.c: Add sys/stat.h.
+
* genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
* genattrtab.c: Likewise.
* genconfig.c: Likewise.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index fcbbf1e..5f53c246 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -37,6 +37,7 @@ compilation is specified by a string called a "spec". */
#include "system.h"
#include <signal.h>
+#include <sys/stat.h>
#ifdef __STDC__
#include <stdarg.h>
#else
diff --git a/gcc/system.h b/gcc/system.h
index ef3ee49..6e8548e 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -69,7 +69,6 @@
#include <sys/types.h>
-#include <sys/stat.h>
#include <errno.h>
#ifndef errno