mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io.c: include vm_core.h for VM_UNREACHABLE
Thanks to Greg L <greg.mpls@gmail.com> for the report git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0cdd459614
commit
eb95929206
1 changed files with 1 additions and 0 deletions
1
io.c
1
io.c
|
@ -10707,6 +10707,7 @@ nogvl_wait_for_single_fd(int fd, short events)
|
|||
return poll(&fds, 1, -1);
|
||||
}
|
||||
#else /* !USE_POLL */
|
||||
# include "vm_core.h"
|
||||
# define IOWAIT_SYSCALL "select"
|
||||
static int
|
||||
nogvl_wait_for_single_fd(int fd, short events)
|
||||
|
|
Loading…
Add table
Reference in a new issue