mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Include sys/select.h when checking HAVE_RB_FD_INIT
* configure.in: include sys/select.h for fd_mask on AIX [Feature #13637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cff3941b81
commit
3215b27a9a
1 changed files with 3 additions and 1 deletions
|
@ -2156,7 +2156,9 @@ AC_CHECK_TYPES([clockid_t], [], [], [@%:@ifdef HAVE_TIME_H
|
|||
@%:@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)
|
||||
])
|
||||
|
|
Loading…
Add table
Reference in a new issue