# [PATCH] Turn on USE_ST_TIMESPEC for OpenBSD

2 messages from 2009-05-14 to 2009-05-15. Participants: Tony Kemp, Junio C Hamano.
Thread: https://gitlist.dev/t/19346

## Tony Kemp, 2009-05-14 06:47

Subject: [PATCH] Turn on USE_ST_TIMESPEC for OpenBSD
Message-ID: <95834851-9A5E-42D8-9420-0C7505ECB1A5@newcastle.edu.au>
URL: https://gitlist.dev/e/95834851-9A5E-42D8-9420-0C7505ECB1A5%40newcastle.edu.au

```
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>
---
  Makefile |    1 +
  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
-- 
1.6.2.2

```

## Junio C Hamano, 2009-05-15 18:11

Subject: Re: [PATCH] Turn on USE_ST_TIMESPEC for OpenBSD
Message-ID: <7vhbzmtewv.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vhbzmtewv.fsf%40alter.siamese.dyndns.org
In-Reply-To: <95834851-9A5E-42D8-9420-0C7505ECB1A5@newcastle.edu.au>

```
Thanks, will queue; I have been mired in the day job.

```
