Commit 86a9156b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix epoll

parent fcbc7951
......@@ -394,6 +394,9 @@ struct waited {
int fd;
void *ptr;
double deadline;
#if defined(HAVE_EPOLL_CTL)
struct epoll_event ev;
#endif
};
/* Stored object -----------------------------------------------------
......@@ -686,9 +689,6 @@ struct sess {
struct vrt_privs privs[1];
#if defined(HAVE_EPOLL_CTL)
struct epoll_event ev;
#endif
};
/* Prototypes etc ----------------------------------------------------*/
......
......@@ -252,7 +252,6 @@ vwe_init(waiter_handle_f *func, int *pfd)
const struct waiter_impl waiter_epoll = {
.name = "epoll",
.init = vwe_init,
.pass = vwe_pass,
};
#endif /* defined(HAVE_EPOLL_CTL) */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment