Commit 276140fa by Manfred Hollstein

cccp.c: Do not #include <sys/stat.h> here; this is already done by "system.h".

�
	* cccp.c: Do not #include <sys/stat.h> here; this is already done
	by "system.h".
	* collect2.c: Likewise.
	* cpplib.h: Likewise.
	* gcc.c: Likewise.
	* gcov.c: Likewise.
	* getpwd.c: Likewise.
	* protoize.c: Likewise.
	* toplev.c: Likewise.

From-SVN: r24263
parent 9d986f55
...@@ -28,7 +28,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,7 +28,6 @@ Boston, MA 02111-1307, USA. */
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
#include <signal.h> #include <signal.h>
#include <sys/stat.h>
#ifdef vfork /* Autoconf may define this to fork for us. */ #ifdef vfork /* Autoconf may define this to fork for us. */
# define VFORK_STRING "fork" # define VFORK_STRING "fork"
......
...@@ -23,7 +23,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -23,7 +23,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define __GCC_CPPLIB__ #define __GCC_CPPLIB__
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -34,7 +34,6 @@ compilation is specified by a string called a "spec". */ ...@@ -34,7 +34,6 @@ compilation is specified by a string called a "spec". */
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
#include <signal.h> #include <signal.h>
#include <sys/stat.h>
#include "obstack.h" #include "obstack.h"
......
...@@ -43,7 +43,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -43,7 +43,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
#include <sys/stat.h>
#include "gcov-io.h" #include "gcov-io.h"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
#include <sys/stat.h>
/* Virtually every UN*X system now in common use (except for pre-4.3-tahoe /* Virtually every UN*X system now in common use (except for pre-4.3-tahoe
BSD systems) now provides getcwd as called for by POSIX. Allow for BSD systems) now provides getcwd as called for by POSIX. Allow for
......
...@@ -58,7 +58,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -58,7 +58,6 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#include "system.h" #include "system.h"
#include <sys/stat.h>
#if ! defined (_WIN32) || defined (__CYGWIN__) #if ! defined (_WIN32) || defined (__CYGWIN__)
#if defined(POSIX) || defined(CONCURRENT) #if defined(POSIX) || defined(CONCURRENT)
#include <dirent.h> #include <dirent.h>
......
...@@ -29,7 +29,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,7 +29,6 @@ Boston, MA 02111-1307, USA. */
#include "system.h" #include "system.h"
#include <signal.h> #include <signal.h>
#include <setjmp.h> #include <setjmp.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_RESOURCE_H #ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h> # include <sys/resource.h>
......
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