summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-11-15 14:57:47 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-15 14:57:47 -0800
commit73fbd33cce281f116852d02963935f2ae90acc76 (patch)
tree6a85f27c6566101067c26b89e215e007c32a33f6
parentRun "git repack -a -d" once more at end, if there's 1MB or more of not-packed... (diff)
downloadtgif-73fbd33cce281f116852d02963935f2ae90acc76.tar.xz
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>
-rw-r--r--convert-objects.c2
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>