From: Junio C Hamano Date: Wed, 15 Nov 2006 22:57:47 +0000 (-0800) Subject: convert-objects: set _XOPEN_SOURCE to 600 X-Git-Tag: v1.4.4.1~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=73fbd33cce281f116852d02963935f2ae90acc76;p=git.git convert-objects: set _XOPEN_SOURCE to 600 Otherwise OpenBSD header files drop S_ISLNK() definition which is used in an inline defined in cache.h Signed-off-by: Junio C Hamano --- diff --git a/convert-objects.c b/convert-objects.c index 631678b08..881258311 100644 --- a/convert-objects.c +++ b/convert-objects.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 500 /* glibc2 and AIX 5.3L need this */ +#define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */ #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */ #define _GNU_SOURCE #include