I've backed out of including stat.h via system.h because stat.h can define...

I've backed out of including stat.h via system.h because stat.h can
define static functions (eg on x86 svr4 according to jfc@mit.edu)
causing code bloat.
        * system.h: Remove sys/stat.h.
        * gcc.c: Add sys/stat.h.

From-SVN: r18289
This commit is contained in:
Kaveh R. Ghazi 1998-02-28 06:11:54 +00:00 committed by Kaveh Ghazi
parent 3d85c12ecc
commit c580105315
3 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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

View File

@ -69,7 +69,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#ifndef errno