From 795c7ef8c99bf330213b53fa5146616ca3022ff6 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 30 May 2025 14:09:45 +0000 Subject: Try another approach for the stat.h workaround Signed-off-by: Laurent Bercot --- src/sysdeps/trystatimespec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sysdeps/trystatimespec.c') diff --git a/src/sysdeps/trystatimespec.c b/src/sysdeps/trystatimespec.c index 75b1231..9e03bc2 100644 --- a/src/sysdeps/trystatimespec.c +++ b/src/sysdeps/trystatimespec.c @@ -1,6 +1,8 @@ /* ISC license. */ -#undef _POSIX_C_SOURCE +#ifndef _DARWIN_C_SOURCE +#define _DARWIN_C_SOURCE +#endif #include #include -- cgit v1.3.1