Skip to content

Commit 73fbd33

Browse files
author
Junio C Hamano
committed
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>
1 parent efe4abd commit 73fbd33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert-objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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() */
22
#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
33
#define _GNU_SOURCE
44
#include <time.h>

0 commit comments

Comments
 (0)