diff --git a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp index 11f3e92..ea7f3c9 100644 --- a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp +++ b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp @@ -2,6 +2,8 @@ #include #include +#include + namespace nntpchan { namespace ev @@ -56,7 +58,7 @@ namespace ev { filter |= EVFILT_READ; } - if(handler->writable()) + if(handler->writeable()) { filter |= EVFILT_WRITE; }