diff --git a/ext/io/event/interrupt.c b/ext/io/event/interrupt.c index 0907e8c..da6f8cd 100644 --- a/ext/io/event/interrupt.c +++ b/ext/io/event/interrupt.c @@ -25,6 +25,13 @@ #include "selector/selector.h" +#ifdef HAVE_RUBY_WIN32_H +#include +#if !defined(HAVE_PIPE) && !defined(pipe) +#define pipe(p) rb_w32_pipe(p) +#endif +#endif + #ifdef HAVE_SYS_EVENTFD_H #include