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 --- compat/compat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'compat/compat.h') diff --git a/compat/compat.h b/compat/compat.h index 5f9424d..8a7ef4a 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -22,4 +22,10 @@ extern char *mos_strdup(const char *s); extern void *mos_memmem(const void *h, size_t h_size, const void *n, size_t n_size); #endif // NO_MEMMEM +#ifndef NO_MKSTEMP +#define mos_mkstemp mkstemp +#else +#error mkstemp fallback not implemented +#endif // NO_MEMMEM + #endif // MOSLIB_COMPAT_H -- cgit v1.2.3