aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-01-28 13:48:52 +0100
committerAndreas Schneider <asn@samba.org>2014-01-28 14:11:48 +0100
commit9c03935fc0abb033a32683f5e9d8bd6b2136b8fd (patch)
tree7b3871b31d75dd29f332bb72259a6a7f02a44ef5 /ConfigureChecks.cmake
parentf8508200e90048523fc7c78467dc8e565744f7f9 (diff)
downloadsocket_wrapper-9c03935fc0abb033a32683f5e9d8bd6b2136b8fd.tar.gz
socket_wrapper-9c03935fc0abb033a32683f5e9d8bd6b2136b8fd.tar.xz
socket_wrapper-9c03935fc0abb033a32683f5e9d8bd6b2136b8fd.zip
src: Add timerfd_create() to handle stale fds.
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 35b8edc..c05cbb9 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -50,6 +50,7 @@ endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW AND NOT OS2)
check_include_file(sys/filio.h HAVE_SYS_FILIO_H)
check_include_file(sys/signalfd.h HAVE_SYS_SIGNALFD_H)
check_include_file(sys/eventfd.h HAVE_SYS_EVENTFD_H)
+check_include_file(sys/timerfd.h HAVE_SYS_TIMERFD_H)
# FUNCTIONS
check_function_exists(strncpy HAVE_STRNCPY)
@@ -57,6 +58,7 @@ check_function_exists(vsnprintf HAVE_VSNPRINTF)
check_function_exists(snprintf HAVE_SNPRINTF)
check_function_exists(signalfd HAVE_SIGNALFD)
check_function_exists(eventfd HAVE_EVENTFD)
+check_function_exists(timerfd_create HAVE_TIMERFD_CREATE)
if (UNIX)
if (NOT LINUX)