From 825b80eaa311b0aec4c00614f38f3eb63949d5a7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 16 Apr 2024 12:57:52 +0000 Subject: Tentative support for old MacOS with no O_CLOEXEC Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot --- src/libunixonacid/stat_at.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/libunixonacid/stat_at.c') diff --git a/src/libunixonacid/stat_at.c b/src/libunixonacid/stat_at.c index 2d04d57..e4040d5 100644 --- a/src/libunixonacid/stat_at.c +++ b/src/libunixonacid/stat_at.c @@ -9,8 +9,10 @@ #endif #include + #include -#include + +#include #include int stat_at (int dirfd, char const *file, struct stat *st) @@ -27,9 +29,11 @@ int lstat_at (int dirfd, char const *file, struct stat *st) /* OpenBSD plz. lstat() is POSIX. */ #include + #include -#include #include + +#include #include #include -- cgit v1.2.3