Skip to content

Commit 90f2e65

Browse files
tonykempgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 13c5833 commit 90f2e65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ endif
749749
ifeq ($(uname_S),OpenBSD)
750750
NO_STRCASESTR = YesPlease
751751
NO_MEMMEM = YesPlease
752+
USE_ST_TIMESPEC = YesPlease
752753
NEEDS_LIBICONV = YesPlease
753754
BASIC_CFLAGS += -I/usr/local/include
754755
BASIC_LDFLAGS += -L/usr/local/lib

0 commit comments

Comments
 (0)