diff options
Diffstat (limited to 'runtime/nsdpoll_ptcp.h')
-rw-r--r-- | runtime/nsdpoll_ptcp.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <sys/epoll.h> +#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 |