Conditionally include epoll headers.

This commit is contained in:
Calvin Rose 2020-09-07 13:13:28 -05:00
parent babfe50550
commit 1a04ce33f1
1 changed files with 4 additions and 1 deletions

View File

@ -39,9 +39,12 @@
#include <signal.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/epoll.h>
#include <fcntl.h>
#ifdef JANET_EV_EPOLL
#include <sys/epoll.h>
#include <sys/timerfd.h>
#endif
/* General queue */