aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Kemp <Tony.Kemp@newcastle.edu.au>2009-05-14 16:47:41 +1000
committerJunio C Hamano <gitster@pobox.com>2009-05-16 10:23:26 -0700
commit90f2e6526b3b800af4d10b900167a508b3774b98 (patch)
treef7552f8fd7a653562bea3fa381e21a77cd3ec4e0
parent13c5833c094e3d889df8e4a4f0ff30bb874c1b14 (diff)
downloadgit-90f2e6526b3b800af4d10b900167a508b3774b98.tar.gz
git-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 6e216436c..26d180cc5 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