aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-16 07:28:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-16 07:28:32 +0000
commitcab124776e911cc509598464831a0106ba975808 (patch)
tree7fd4a6d4cccd7fa6f1084bc01eff54d228cc072e /configure.in
parentaf24f5ff6a9df492ac699dfc2d8158adaa4369df (diff)
downloadruby-cab124776e911cc509598464831a0106ba975808.tar.gz
mingw build fix
* configure.in: struct timeval is defined in winsock2.h on mingw. * include/ruby/missing.h: include time.h for time_t, and sys/time.h for timeval and timespec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 6b0b3431e0..febcbe0832 100644
--- a/configure.in
+++ b/configure.in
@@ -925,6 +925,7 @@ $POSTLINK"
ac_cv_func_flock=yes
ac_cv_func_gmtime_r=yes
rb_cv_large_fd_select=yes
+ ac_cv_type_struct_timeval=yes
AC_LIBOBJ([langinfo])
],
[os2-emx*], [ LIBS="-lm $LIBS"