From f0b43c611e9d33f57fcc7abd8f49132fc3cd7d95 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 11 Jan 2024 22:55:45 +0100 Subject: Make things work a bit better on C23 --- cbs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cbs.h') diff --git a/cbs.h b/cbs.h index 789f532..6408519 100644 --- a/cbs.h +++ b/cbs.h @@ -50,6 +50,10 @@ # error "Non-POSIX platform detected" #endif +#ifdef __APPLE__ +# define st_mtim st_mtimespec +#endif + #include #include -- cgit v1.2.3