diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-22 08:08:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-22 08:08:49 +0000 |
commit | 37747b24dab9f726f10fe346818652644f356640 (patch) | |
tree | 9d6d2842c7cd1ff3b179dc2c6091e579e62cf6d3 /gnu/usr.bin/diff | |
parent | 6ac491ee0f51c85d36d8f83ed5cda01925235786 (diff) |
__OpenBSD__
Diffstat (limited to 'gnu/usr.bin/diff')
-rw-r--r-- | gnu/usr.bin/diff/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdlib.h> @@ -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 |