ruby-changes:47324
From: odaira <ko1@a...>
Date: Sat, 29 Jul 2017 01:47:56 +0900 (JST)
Subject: [ruby-changes:47324] odaira:r59440 (trunk): Include sys/select.h when checking HAVE_RB_FD_INIT
odaira 2017-07-29 01:47:50 +0900 (Sat, 29 Jul 2017) New Revision: 59440 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59440 Log: Include sys/select.h when checking HAVE_RB_FD_INIT * configure.in: include sys/select.h for fd_mask on AIX [Feature #13637] Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 59439) +++ configure.in (revision 59440) @@ -2156,7 +2156,9 @@ AC_CHECK_TYPES([clockid_t], [], [], [@%: https://github.com/ruby/ruby/blob/trunk/configure.in#L2156 @%:@endif]) AC_CACHE_VAL([rb_cv_large_fd_select], - [AC_CHECK_TYPE(fd_mask, [rb_cv_large_fd_select=yes], [rb_cv_large_fd_select=no])]) + [AC_CHECK_TYPE(fd_mask, [rb_cv_large_fd_select=yes], [rb_cv_large_fd_select=no], [@%:@ifdef HAVE_SYS_SELECT_H +@%:@ include <sys/select.h> +@%:@endif])]) AS_IF([test "$rb_cv_large_fd_select" = yes], [ AC_DEFINE(HAVE_RB_FD_INIT, 1) ]) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/