Makefile: turn on USE_ST_TIMESPEC for FreeBSD
authorJeff King <peff@peff.net>
Sun, 22 Mar 2009 08:08:48 +0000 (04:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2009 00:42:05 +0000 (17:42 -0700)
Fixes broken compilation on FreeBSD 6.1.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index aae3b094116892e54208f0a7198cff4abc0d8b20..320c89786cf5b1046b7b794f59cd4ce118d81c95 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -713,6 +713,7 @@ ifeq ($(uname_S),FreeBSD)
        BASIC_CFLAGS += -I/usr/local/include
        BASIC_LDFLAGS += -L/usr/local/lib
        DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
+       USE_ST_TIMESPEC = YesPlease
        THREADED_DELTA_SEARCH = YesPlease
        ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
                PTHREAD_LIBS = -pthread