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:
parent
3d85c12ecc
commit
c580105315
@ -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.
|
||||
|
@ -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
|
||||
|
@ -69,7 +69,6 @@
|
||||
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifndef errno
|
||||
|
Loading…
Reference in New Issue
Block a user