From 37747b24dab9f726f10fe346818652644f356640 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 22 Aug 1996 08:08:49 +0000 Subject: __OpenBSD__ --- gnu/usr.bin/diff/getopt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/diff/getopt.c') diff --git a/gnu/usr.bin/diff/getopt.c b/gnu/usr.bin/diff/getopt.c index 21fa7fad286..f7c5550deb8 100644 --- a/gnu/usr.bin/diff/getopt.c +++ b/gnu/usr.bin/diff/getopt.c @@ -53,7 +53,7 @@ /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ -#if defined(__GNU_LIBRARY__) || defined(__NetBSD__) +#if defined(__GNU_LIBRARY__) || defined(__NetBSD__) || defined(__OpenBSD__) /* Don't include stdlib.h for non-GNU C libraries because some of them contain conflicting prototypes for getopt. */ #include @@ -155,7 +155,7 @@ static enum /* Value of POSIXLY_CORRECT environment variable. */ static char *posixly_correct; -#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 -- cgit v1.2.3