diff options
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fastd.h b/src/fastd.h index 8fcd247..f1ae2d3 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -241,10 +241,14 @@ struct fastd_context { fastd_peer_group_t *peer_group; VECTOR(fastd_peer_t*) peers; - VECTOR(struct pollfd) pollfds; - VECTOR(fastd_peer_t*) peers_temp; +#ifdef USE_EPOLL + int epoll_fd; +#else + VECTOR(struct pollfd) pollfds; +#endif + uint32_t peer_addr_ht_seed; VECTOR(fastd_peer_t*) *peer_addr_ht; |