From: Eric Wong Date: 2018-07-29T22:56:22+00:00 Subject: [ruby-core:88171] Re: [ruby-cvs:71198] normal:r64107 (trunk): thread_pthread: remove timer-thread by restructuring GVL SHIBATA Hiroshi wrote: > In file included from ../thread.c:374: > ../thread_pthread.c:1588:11: error: implicit declaration of function > 'ppoll' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > (void)ppoll(&pfd, 1, ts, 0); > ^ > ../thread_pthread.c:1588:11: note: did you mean 'poll'? > /usr/include/sys/poll.h:114:12: note: 'poll' declared here > extern int poll (struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll); Thanks for the report. Can you try r64109? commit 2fa1e2e3c3c5c4b3ce84730dee4bcbe9d81b8e35 thread.c: move ppoll wrapper before thread_pthread.c thread_pthread.c relies on ppoll for rb_sigwait_sleep, so ensure the compatibility wrapper is available for it. Unsubscribe: