summaryrefslogtreecommitdiff
path: root/convert-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-15 22:57:47 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-11-15 22:57:47 (GMT)
commit73fbd33cce281f116852d02963935f2ae90acc76 (patch)
tree6a85f27c6566101067c26b89e215e007c32a33f6 /convert-objects.c
parentefe4abd14c75834d30e3e521b3597eb07ea9271b (diff)
downloadgit-73fbd33cce281f116852d02963935f2ae90acc76.zip
git-73fbd33cce281f116852d02963935f2ae90acc76.tar.gz
git-73fbd33cce281f116852d02963935f2ae90acc76.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-objects.c b/convert-objects.c
index 631678b..8812583 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>