aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--backends/lua.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/lua.c b/backends/lua.c
index 7fcd0ab..43a6fcc 100644
--- a/backends/lua.c
+++ b/backends/lua.c
@@ -1,7 +1,10 @@
#include <string.h>
-#include <sys/timerfd.h>
#include <unistd.h>
#include <errno.h>
+#ifdef MMBACKEND_LUA_TIMERFD
+#include <sys/timerfd.h>
+#endif
+
#include "lua.h"
#define BACKEND_NAME "lua"