From 6ebcb7417a7a9b0a01062ff71a8383e27e91c0d8 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 8 Dec 2017 09:37:10 +0900 Subject: AppVeyor compile errors resolution. --- mrbgems/mruby-io/test/mruby_io_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c index 35dce463e..29d91f536 100644 --- a/mrbgems/mruby-io/test/mruby_io_test.c +++ b/mrbgems/mruby-io/test/mruby_io_test.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -16,10 +17,9 @@ static int mkstemp(char *p) { char *template, *path; - char *path; int fd; - template = strdup(p); + template = _strdup(p); if (template == NULL) return -1; path = _mktemp(template); if (path[0] == 0) { -- cgit v1.2.3