summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efe4abd)
raw | patch | inline | side by side (parent: efe4abd)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 15 Nov 2006 22:57:47 +0000 (14:57 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 15 Nov 2006 22:57:47 +0000 (14:57 -0800) |
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>
an inline defined in cache.h
Signed-off-by: Junio C Hamano <junkio@cox.net>
convert-objects.c | patch | blob | history |
diff --git a/convert-objects.c b/convert-objects.c
index 631678b08a7cb83b0349f1a683d3cd7fb797fb7a..881258311a47f9faa437ec02e99b4a0df1439d53 100644 (file)
--- a/convert-objects.c
+++ b/convert-objects.c
-#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>