From: Richard Stallman Date: Tue, 20 Oct 1992 07:13:36 +0000 (+0000) Subject: Add #undef getopt after getopt.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4c17831639675d3ead6000bfd831bd27d9ee4eb;p=gcc.git Add #undef getopt after getopt.h. From-SVN: r2521 --- diff --git a/gcc/protoize.c b/gcc/protoize.c index 51c825b60c3..5a6533498ee 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -75,6 +75,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ with something from a system header file, so effectively nullify that. */ #define getopt getopt_loser #include "getopt.h" +#undef getopt extern int errno; extern char *sys_errlist[];