From: Richard Kenner Date: Thu, 15 Sep 1994 19:38:29 +0000 (-0400) Subject: Rework last change so it's done like collect2.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c793b325101980a9ff28757fac1d8d583494479;p=gcc.git Rework last change so it's done like collect2.c. From-SVN: r8090 --- diff --git a/gcc/gcc.c b/gcc/gcc.c index a1b5bb87bdc..2a9f14554c6 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