diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-04-28 22:32:12 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-04-28 22:34:33 +0900 |
| commit | 312411dea0f5c54bd8a2548ad37333fed7d1c6b9 (patch) | |
| tree | 842a2c6c93b4d21df531d9f91acb13d6dece1ac7 /mrbgems/mruby-io/test | |
| parent | 7277682cfbabcf2eb518339508043e96e59b5a99 (diff) | |
| download | mruby-312411dea0f5c54bd8a2548ad37333fed7d1c6b9.tar.gz mruby-312411dea0f5c54bd8a2548ad37333fed7d1c6b9.zip | |
Add `#include <string.h>` on all platforms for `strncpy`; #4981
Diffstat (limited to 'mrbgems/mruby-io/test')
| -rw-r--r-- | mrbgems/mruby-io/test/mruby_io_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-io/test/mruby_io_test.c b/mrbgems/mruby-io/test/mruby_io_test.c index 36872e7b7..e023b1904 100644 --- a/mrbgems/mruby-io/test/mruby_io_test.c +++ b/mrbgems/mruby-io/test/mruby_io_test.c @@ -1,6 +1,7 @@ #include <mruby/common.h> #include <sys/types.h> #include <errno.h> +#include <string.h> #if defined(_WIN32) || defined(_WIN64) @@ -8,7 +9,6 @@ #include <io.h> #include <fcntl.h> #include <direct.h> -#include <string.h> #include <stdlib.h> #include <malloc.h> |
