From 2c793b325101980a9ff28757fac1d8d583494479 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 15 Sep 1994 15:38:29 -0400 Subject: [PATCH] Rework last change so it's done like collect2.c. From-SVN: r8090 --- gcc/gcc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index a1b5bb8..2a9f145 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -35,7 +35,7 @@ compilation is specified by a string called a "spec". */ #include #include #include /* May get R_OK, etc. on some systems. */ -#include +#include #include "config.h" #include "obstack.h" @@ -132,7 +132,11 @@ compilation is specified by a string called a "spec". */ extern void free (); extern char *getenv (); -extern int errno, sys_nerr; +#ifndef errno +extern int errno; +#endif + +extern int sys_nerr; #if defined(bsd4_4) || defined(__NetBSD__) extern const char *const sys_errlist[]; #else -- 2.7.4