summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTony Kemp <Tony.Kemp@newcastle.edu.au>2009-05-14 06:47:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-16 17:23:26 (GMT)
commit90f2e6526b3b800af4d10b900167a508b3774b98 (patch)
treef7552f8fd7a653562bea3fa381e21a77cd3ec4e0 /Makefile
parent13c5833c094e3d889df8e4a4f0ff30bb874c1b14 (diff)
downloadgit-90f2e6526b3b800af4d10b900167a508b3774b98.zip
git-90f2e6526b3b800af4d10b900167a508b3774b98.tar.gz
git-90f2e6526b3b800af4d10b900167a508b3774b98.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e21643..26d180c 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