From 7ed28d2f501a4920b792bee9da3d61814f024a4c Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 7 Oct 2025 05:38:30 -0500 Subject: add mkstemp for msvc builds --- include/compat/unistd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 63c07fc..544cb27 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h @@ -45,6 +45,8 @@ static inline unsigned int sleep(unsigned int seconds) Sleep(seconds * 1000); return seconds; } + +int mkstemp(char *template); #endif int ftruncate(int fd, off_t length); -- cgit v1.2.3-55-g6feb