From 60de45415cd44fc867e1bffba51b2c8bed3af586 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 6 May 2018 08:56:20 -0400 Subject: [PATCH] more includes and typofixes --- contrib/backends/nntpchan-daemon/libnntpchan/event.cpp | 3 +++ contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/backends/nntpchan-daemon/libnntpchan/event.cpp b/contrib/backends/nntpchan-daemon/libnntpchan/event.cpp index f774847..de94cd0 100644 --- a/contrib/backends/nntpchan-daemon/libnntpchan/event.cpp +++ b/contrib/backends/nntpchan-daemon/libnntpchan/event.cpp @@ -1,5 +1,8 @@ #include #include +#include +#include +#include constexpr std::size_t ev_buffsz = 512; diff --git a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp index 7430bff..7636e4d 100644 --- a/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp +++ b/contrib/backends/nntpchan-daemon/libnntpchan/kqueue.hpp @@ -85,7 +85,7 @@ namespace ev while(idx < ret) { event = &events[idx++]; - handler = static_cast(ev->udata); + handler = static_cast(event->udata); if(event->flags & EV_EOF) { handler->close();