diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-04-16 12:57:52 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-04-16 12:57:52 +0000 |
commit | 825b80eaa311b0aec4c00614f38f3eb63949d5a7 (patch) | |
tree | 624f702487d9acdd3cc85060cfe2edc388cf7096 /src/libstddjb/openc_trunc.c | |
parent | bfc53cfde4fdda343647678fcd21b38a44f2de08 (diff) | |
download | skalibs-825b80eaa311b0aec4c00614f38f3eb63949d5a7.tar.xz |
Tentative support for old MacOS with no O_CLOEXEC
Also add a prototype for gol, not finished yet.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/openc_trunc.c')
-rw-r--r-- | src/libstddjb/openc_trunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/openc_trunc.c b/src/libstddjb/openc_trunc.c index ca39160..bda44be 100644 --- a/src/libstddjb/openc_trunc.c +++ b/src/libstddjb/openc_trunc.c @@ -1,7 +1,7 @@ /* ISC license. */ #include <skalibs/nonposix.h> -#include <fcntl.h> +#include <skalibs/fcntl.h> #include <skalibs/djbunix.h> int openc_trunc (char const *fn) |