summaryrefslogtreecommitdiff
path: root/src/sysdeps
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-12 20:03:04 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-12 20:03:04 +0000
commitb80efa2003d8208dc5ebdee285c363dc9c5e5844 (patch)
tree345dd03df488c9f44c7f16f3aa133d7535b25720 /src/sysdeps
parent47b410cd382d965c2c449f9c30c533b5d12def19 (diff)
downloadskalibs-b80efa2003d8208dc5ebdee285c363dc9c5e5844.tar.xz
Try another workaround for bad struct stat
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/sysdeps')
-rw-r--r--src/sysdeps/trystatimespec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysdeps/trystatimespec.c b/src/sysdeps/trystatimespec.c
index 2690d57..3c12237 100644
--- a/src/sysdeps/trystatimespec.c
+++ b/src/sysdeps/trystatimespec.c
@@ -1,5 +1,8 @@
/* ISC license. */
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
#include <sys/stat.h>
#include <time.h>