1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +00:00

Conditionally include epoll headers.

This commit is contained in:
Calvin Rose 2020-09-07 13:13:28 -05:00
parent babfe50550
commit 1a04ce33f1

View File

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