aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-10-20 07:13:36 +0000
committerRichard Stallman <rms@gnu.org>1992-10-20 07:13:36 +0000
commita4c17831639675d3ead6000bfd831bd27d9ee4eb (patch)
treebd2d82e1c3db27703a27b17a7637c5f3400254ac
parentd2288d8d4f28b1d8a856924927771dbdef7edf4d (diff)
downloadgcc-a4c17831639675d3ead6000bfd831bd27d9ee4eb.zip
gcc-a4c17831639675d3ead6000bfd831bd27d9ee4eb.tar.gz
gcc-a4c17831639675d3ead6000bfd831bd27d9ee4eb.tar.bz2
Add #undef getopt after getopt.h.
From-SVN: r2521
-rw-r--r--gcc/protoize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 51c825b..5a65334 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[];