socketry / io-event

MIT License
75 stars 16 forks source link

selector.c require include <sys/wait.h> for WNOHANG #93

Closed taca closed 8 months ago

taca commented 8 months ago

io-event 1.4.2 build fails on NetBSD 10.0_RC3/amd64. selector.c require definition of WNOHANG and including <sys/wait.h> in selector.h solve the problem.

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ruby-io-event/patches/patch-ext_io_event_selector_selector.h

ioquatix commented 8 months ago

Okay, this is fixed in v1.4.3 - thanks for the report. Please feel free to discuss any other compatibility issues so we can solve them here rather than downstream patching :)

taca commented 8 months ago

Thanks for your quick fix!!