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

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-04-28 22:32:12 +09:00
committed by Hiroshi Mimaki
parent 1cdcd00cc0
commit 7dc0fe66c7
+1 -1
View File
@@ -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>