Commit 7dc0fe66 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by Hiroshi Mimaki

Add `#include <string.h>` on all platforms for `strncpy`; #4981

parent 1cdcd00c
#include <mruby/common.h> #include <mruby/common.h>
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#if defined(_WIN32) || defined(_WIN64) #if defined(_WIN32) || defined(_WIN64)
...@@ -8,7 +9,6 @@ ...@@ -8,7 +9,6 @@
#include <io.h> #include <io.h>
#include <fcntl.h> #include <fcntl.h>
#include <direct.h> #include <direct.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <malloc.h> #include <malloc.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment