ext/sleepy_penguin/extconf.rb in sleepy_penguin-3.1.0.26.g7181 vs ext/sleepy_penguin/extconf.rb in sleepy_penguin-3.2.0
- old
+ new
@@ -1,6 +1,10 @@
require 'mkmf'
-have_header('sys/epoll.h') or abort 'sys/epoll.h not found'
+have_header('sys/epoll.h')
+dir_config('kqueue')
+have_library('kqueue')
+have_header('sys/event.h')
+have_header('sys/mount.h')
have_header('sys/eventfd.h')
# it's impossible to use signalfd reliably with Ruby since Ruby currently
# manages # (and overrides) all signal handling
# have_header('sys/signalfd.h')