diff options
author | Junio C Hamano <junkio@cox.net> | 2006-11-15 14:57:47 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-15 14:57:47 -0800 |
commit | 73fbd33cce281f116852d02963935f2ae90acc76 (patch) | |
tree | 6a85f27c6566101067c26b89e215e007c32a33f6 /convert-objects.c | |
parent | efe4abd14c75834d30e3e521b3597eb07ea9271b (diff) | |
download | git-73fbd33cce281f116852d02963935f2ae90acc76.tar.gz |
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 <junkio@cox.net>
Diffstat (limited to 'convert-objects.c')
-rw-r--r-- | convert-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-objects.c b/convert-objects.c index 631678b08a..881258311a 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 <time.h> |