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>
Junio C Hamano committed
Nov 15, 2006 at 14:57 UTC
73fbd33cce281f116852d02963935f2ae90acc76
1 file changed
+1
-1
convert-objects.c
+1
-1
@@ -1,4 +1,4 @@
1
-#define _XOPEN_SOURCE 500 /* glibc2 and AIX 5.3L need this */
1
+#define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */
2
#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
3
#define _GNU_SOURCE
4
#include <time.h>