summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-io/src
diff options
context:
space:
mode:
authorDavid Siaw <[email protected]>2020-01-28 00:43:49 +0800
committerDavid Siaw <[email protected]>2020-01-28 00:43:49 +0800
commit36efc3365086c80c72faa27fe7192e089b457b49 (patch)
tree4cd7b709b46703135b37aaa5daec304408c07949 /mrbgems/mruby-io/src
parent59464f35285e65598bca94ad9e77be6848a8e8be (diff)
downloadmruby-36efc3365086c80c72faa27fe7192e089b457b49.tar.gz
mruby-36efc3365086c80c72faa27fe7192e089b457b49.zip
include time.h for ios
Diffstat (limited to 'mrbgems/mruby-io/src')
-rw-r--r--mrbgems/mruby-io/src/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c
index a5fe22e46..41cd581aa 100644
--- a/mrbgems/mruby-io/src/io.c
+++ b/mrbgems/mruby-io/src/io.c
@@ -34,6 +34,7 @@
#else
#include <sys/wait.h>
+ #include <sys/time.h>
#include <unistd.h>
typedef size_t fsize_t;
typedef time_t ftime_t;