Merge pull request #2206 from mattn/fix_build_mingw

Fix build on mingw32/64: struct timeval isn't defined in default. See: 6...
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-05-07 11:02:45 +09:00
+4
View File
@@ -10,6 +10,10 @@
#include "mruby/class.h"
#include "mruby/data.h"
#if defined(__MINGW64__) || defined(__MINGW32__)
# include <sys/time.h>
#endif
/** Time class configuration */
/* gettimeofday(2) */