diff options
author | cbdev <cb@cbcdn.com> | 2019-07-14 16:51:40 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-07-14 16:51:40 +0200 |
commit | f4f6f8c84a685b83f2406f8efb148b6699be14e9 (patch) | |
tree | 5d52edf9ccbed7d59c40778e4a87604482f55877 | |
parent | e776e02531aca45f424f7139e5d7304ba3096b45 (diff) | |
download | midimonster-f4f6f8c84a685b83f2406f8efb148b6699be14e9.tar.gz midimonster-f4f6f8c84a685b83f2406f8efb148b6699be14e9.tar.bz2 midimonster-f4f6f8c84a685b83f2406f8efb148b6699be14e9.zip |
Conditionally include timerfd headers
-rw-r--r-- | backends/lua.c | 5 |
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" |