Commit c5801053 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent 3d85c12e
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment