aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libev/ev.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-26 17:05:02 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-26 17:05:02 +0000
commita9efb618f8301b756421e760d47d577a93408af3 (patch)
treebf73ae0426de33100d76fd834a8526c32166962a /contrib/libev/ev.c
parentcb88ca869dce2f5d6e6c2939a6c59d35f630c83d (diff)
downloadrspamd-a9efb618f8301b756421e760d47d577a93408af3.tar.gz
rspamd-a9efb618f8301b756421e760d47d577a93408af3.zip
[Minor] Fix usage of signalfd and timerfd
Diffstat (limited to 'contrib/libev/ev.c')
-rw-r--r--contrib/libev/ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libev/ev.c b/contrib/libev/ev.c
index 297fa7e1b..a9660cd22 100644
--- a/contrib/libev/ev.c
+++ b/contrib/libev/ev.c
@@ -184,7 +184,7 @@
# define EV_USE_EVENTFD 0
# endif
-# if HAVE_SYS_TIMERFD_H
+# if HAVE_SYS_TIMERFD_H && HAVE_TIMERFD
# ifndef EV_USE_TIMERFD
# define EV_USE_TIMERFD EV_FEATURE_OS
# endif