summaryrefslogtreecommitdiff
path: root/src/libposixplz/mkptemp2.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-04-16 12:57:52 +0000
committerLaurent Bercot <ska@appnovation.com>2024-04-16 12:57:52 +0000
commit825b80eaa311b0aec4c00614f38f3eb63949d5a7 (patch)
tree624f702487d9acdd3cc85060cfe2edc388cf7096 /src/libposixplz/mkptemp2.c
parentbfc53cfde4fdda343647678fcd21b38a44f2de08 (diff)
downloadskalibs-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/libposixplz/mkptemp2.c')
-rw-r--r--src/libposixplz/mkptemp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libposixplz/mkptemp2.c b/src/libposixplz/mkptemp2.c
index e4e9120..4e4f64a 100644
--- a/src/libposixplz/mkptemp2.c
+++ b/src/libposixplz/mkptemp2.c
@@ -1,8 +1,8 @@
/* ISC license. */
-#include <fcntl.h>
#include <sys/stat.h>
+#include <skalibs/fcntl.h>
#include <skalibs/djbunix.h>
#include <skalibs/posixplz.h>