mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add #include <string.h> on all platforms for strncpy; #4981
This commit is contained in:
committed by
Hiroshi Mimaki
parent
1cdcd00cc0
commit
7dc0fe66c7
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user