From 4513d3c2733e63659320a0b4e23af9bdb72440b6 Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 6 Oct 2026 17:25:17 +0200 Subject: added a temporary fix for glibc --- src/safe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/safe.c') diff --git a/src/safe.c b/src/safe.c index 0701939..de49a58 100644 --- a/src/safe.c +++ b/src/safe.c @@ -1,3 +1,5 @@ +#include "compat.h" + #define MOS_FORCE_PREFIXES #include "moslib/safe.h" @@ -90,7 +92,7 @@ int mos_safe_pipe_fn(int fd[2], MosSafeErrInfo info) { } int mos_safe_mkstemp_fn(char *path, MosSafeErrInfo info) { - int fd = mkstemp(path); + int fd = mos_mkstemp(path); if (fd != -1) return fd; ERR_MESS("failed to make temporary file"); -- cgit v1.2.3