From a4c17831639675d3ead6000bfd831bd27d9ee4eb Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 20 Oct 1992 07:13:36 +0000 Subject: [PATCH] Add #undef getopt after getopt.h. From-SVN: r2521 --- gcc/protoize.c | 1 + 1 file changed, 1 insertion(+) 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[]; -- 2.30.2