cmake HAVE_TIMERFD_CREATE examples

monkey/monkey mk_core/CMakeLists.txt :168

check_c_source_compiles("
  #include <sys/timerfd.h>
  int main() {
     return timerfd_create(CLOCK_REALTIME, 0);
  }" HAVE_TIMERFD_CREATE)

fluent/fluent-bit lib/monkey/mk_core/CMakeLists.txt :168

check_c_source_compiles("
  #include <sys/timerfd.h>
  int main() {
     return timerfd_create(CLOCK_REALTIME, 0);
  }" HAVE_TIMERFD_CREATE)