From e86b0680ef9f3c90172c6b3cb1ad563859da6223 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 25 Nov 2009 15:06:41 +0100 Subject: solved some platform issues with nsdpoll_ptcp --- runtime/nsdpoll_ptcp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/nsdpoll_ptcp.h') diff --git a/runtime/nsdpoll_ptcp.h b/runtime/nsdpoll_ptcp.h index ccdb87f0..0708e489 100644 --- a/runtime/nsdpoll_ptcp.h +++ b/runtime/nsdpoll_ptcp.h @@ -25,6 +25,11 @@ #define INCLUDED_NSDPOLL_PTCP_H #include "nsd.h" +#if HAVE_SYS_EPOLL_H +# include +#else + typedef void epoll_event_t; +#endif typedef nsdpoll_if_t nsdpoll_ptcp_if_t; /* we just *implement* this interface */ /* a helper object to keep track of the epoll event records * Note that we need to keep track of that list because we need to -- cgit