]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3713 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 22 Nov 2011 14:46:13 +0000 (08:46 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 22 Nov 2011 14:46:13 +0000 (08:46 -0600)
src/mod/timers/mod_timerfd/mod_timerfd.c

index 9831b405d259ef55dd911ee9e354b261dda9df7c..f647f4b49fe14bc3aecc9e10ddb7022da641c926 100644 (file)
  */
 
 #include <switch.h>
+#ifdef TIMERFD_WRAP
+#define TFD_CLOEXEC 0
+#include <timerfd_wrap.h>
+#else
 #include <sys/timerfd.h>
+#endif
 #include <sys/epoll.h>
 
 SWITCH_MODULE_LOAD_FUNCTION(mod_timerfd_load);