summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-17 09:16:32 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-17 09:16:32 +0000
commit8ef7febc8464a8c5edc2158d08fe752a4e6d79f0 (patch)
tree2852d7fe27b3ad0b5e098ef54d07732856398de6 /gnu/usr.bin
parent9af438b351b1eab8a0199c034f5f5c86faf54383 (diff)
__NetBSD__ is going away from our gcc specs
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/grep/getopt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/getopt.c b/gnu/usr.bin/grep/getopt.c
index fbabe038d1a..d28913cb507 100644
--- a/gnu/usr.bin/grep/getopt.c
+++ b/gnu/usr.bin/grep/getopt.c
@@ -21,7 +21,10 @@
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef lint
+#if 0
static char rcsid[] = "$NetBSD: getopt.c,v 1.4 1995/04/28 11:43:53 cgd Exp $";
+#endif
+static char rcsid[] = "$OpenBSD: getopt.c,v 1.2 1997/02/17 09:16:31 niklas Exp $";
#endif /* not lint */
/* NOTE!!! AIX requires this to be the first thing in the file.
@@ -177,7 +180,7 @@ static enum
REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER
} ordering;
-#if defined(__GNU_LIBRARY__) || defined(__NetBSD__)
+#if defined (__GNU_LIBRARY__) || defined (__NetBSD__) || defined (__OpenBSD__)
/* We want to avoid inclusion of string.h with non-GNU libraries
because there are many ways it can cause trouble.
On some systems, it contains special magic macros that don't work