summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Tony Kemp <Tony.Kemp@newcastle.edu.au>2009-05-14 16:47:41 +1000
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-16 10:23:26 -0700
commit90f2e6526b3b800af4d10b900167a508b3774b98 (patch)
treef7552f8fd7a653562bea3fa381e21a77cd3ec4e0
parentMerge branch 'maint-1.6.2' into maint (diff)
downloadtgif-90f2e6526b3b800af4d10b900167a508b3774b98.tar.xz
Turn on USE_ST_TIMESPEC for OpenBSD
Like Darwin, OpenBSD's stat struct uses st_ctimespec and st_mtimestruct rather than st_ctim and st_mtim. Signed-off-by: Tony Kemp <tony.kemp@newcastle.edu.au> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e216436c3..26d180cc54 100644
--- a/Makefile
+++ b/Makefile
@@ -749,6 +749,7 @@ endif
ifeq ($(uname_S),OpenBSD)
NO_STRCASESTR = YesPlease
NO_MEMMEM = YesPlease
+ USE_ST_TIMESPEC = YesPlease
NEEDS_LIBICONV = YesPlease
BASIC_CFLAGS += -I/usr/local/include
BASIC_LDFLAGS += -L/usr/local/lib