diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-25 15:06:41 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-25 15:06:41 +0100 |
commit | e86b0680ef9f3c90172c6b3cb1ad563859da6223 (patch) | |
tree | 309c68f818ce4a259772d66783a7f52f2d1f4ad7 /runtime/nsdpoll_ptcp.h | |
parent | c21d381030a5b6ae3bc20a9cfb84c4c04b0922ff (diff) | |
download | rsyslog-e86b0680ef9f3c90172c6b3cb1ad563859da6223.tar.gz rsyslog-e86b0680ef9f3c90172c6b3cb1ad563859da6223.tar.xz rsyslog-e86b0680ef9f3c90172c6b3cb1ad563859da6223.zip |
solved some platform issues with nsdpoll_ptcp
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 |