diff --git a/src/mod/timers/mod_timerfd/mod_timerfd.c b/src/mod/timers/mod_timerfd/mod_timerfd.c index 9831b405d2..f647f4b49f 100644 --- a/src/mod/timers/mod_timerfd/mod_timerfd.c +++ b/src/mod/timers/mod_timerfd/mod_timerfd.c @@ -31,7 +31,12 @@ */ #include +#ifdef TIMERFD_WRAP +#define TFD_CLOEXEC 0 +#include +#else #include +#endif #include SWITCH_MODULE_LOAD_FUNCTION(mod_timerfd_load);