git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Turn on USE_ST_TIMESPEC for OpenBSD

From
TKTony Kemp <tony.kemp@newcastle.edu.au>
Date
May 14, 2009, 06:47 UTC
Message-ID
<95834851-9A5E-42D8-9420-0C7505ECB1A5@newcastle.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
Next: Junio C Hamano
Message 1 of 2 in “Turn on USE_ST_TIMESPEC for OpenBSD”
  1. Turn on USE_ST_TIMESPEC for OpenBSDTony Kemp, May 14, 2009
  2. Junio C HamanoMay 15, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.