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

Fix epoll

parent fcbc7951
...@@ -394,6 +394,9 @@ struct waited { ...@@ -394,6 +394,9 @@ struct waited {
int fd; int fd;
void *ptr; void *ptr;
double deadline; double deadline;
#if defined(HAVE_EPOLL_CTL)
struct epoll_event ev;
#endif
}; };
/* Stored object ----------------------------------------------------- /* Stored object -----------------------------------------------------
...@@ -686,9 +689,6 @@ struct sess { ...@@ -686,9 +689,6 @@ struct sess {
struct vrt_privs privs[1]; struct vrt_privs privs[1];
#if defined(HAVE_EPOLL_CTL)
struct epoll_event ev;
#endif
}; };
/* Prototypes etc ----------------------------------------------------*/ /* Prototypes etc ----------------------------------------------------*/
......
...@@ -252,7 +252,6 @@ vwe_init(waiter_handle_f *func, int *pfd) ...@@ -252,7 +252,6 @@ vwe_init(waiter_handle_f *func, int *pfd)
const struct waiter_impl waiter_epoll = { const struct waiter_impl waiter_epoll = {
.name = "epoll", .name = "epoll",
.init = vwe_init, .init = vwe_init,
.pass = vwe_pass,
}; };
#endif /* defined(HAVE_EPOLL_CTL) */ #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