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
io.c
1
io.c
@ -10707,6 +10707,7 @@ nogvl_wait_for_single_fd(int fd, short events)
|
|||||||
return poll(&fds, 1, -1);
|
return poll(&fds, 1, -1);
|
||||||
}
|
}
|
||||||
#else /* !USE_POLL */
|
#else /* !USE_POLL */
|
||||||
|
# include "vm_core.h"
|
||||||
# define IOWAIT_SYSCALL "select"
|
# define IOWAIT_SYSCALL "select"
|
||||||
static int
|
static int
|
||||||
nogvl_wait_for_single_fd(int fd, short events)
|
nogvl_wait_for_single_fd(int fd, short events)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user