mruby-dir: add missing unistd.h include for posix systems

mkdtemp() requires unistd.h on posix systems like macos and linux.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-10-16 15:44:51 +09:00
parent 06eba9653b
commit 43695029bc
+2
View File
@@ -13,6 +13,8 @@
#if defined(_WIN32)
#include <io.h>
#include <direct.h>
#else
#include <unistd.h>
#endif
static void