From 43695029bc33bdcd47cdc006206d0dda2f8bb1a3 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 16 Oct 2025 15:44:51 +0900 Subject: [PATCH] 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 --- mrbgems/mruby-dir/test/dirtest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mrbgems/mruby-dir/test/dirtest.c b/mrbgems/mruby-dir/test/dirtest.c index 3fbbdebcd..4f05080c6 100644 --- a/mrbgems/mruby-dir/test/dirtest.c +++ b/mrbgems/mruby-dir/test/dirtest.c @@ -13,6 +13,8 @@ #if defined(_WIN32) #include #include +#else +#include #endif static void