diff options
author | Andreas Schneider <asn@samba.org> | 2014-01-28 13:42:38 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2014-01-28 14:11:43 +0100 |
commit | f8508200e90048523fc7c78467dc8e565744f7f9 (patch) | |
tree | c6e1ec24bdd926628f92bfd2e19a9e5f0fd58a75 /ConfigureChecks.cmake | |
parent | dc0023293292d5247a5984e78fc10de9399da5f5 (diff) | |
download | socket_wrapper-f8508200e90048523fc7c78467dc8e565744f7f9.tar.gz socket_wrapper-f8508200e90048523fc7c78467dc8e565744f7f9.tar.xz socket_wrapper-f8508200e90048523fc7c78467dc8e565744f7f9.zip |
src: Add eventfd() to handle stale fds.
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 65f8b1a..35b8edc 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -49,12 +49,14 @@ endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW AND NOT OS2) # HEADERS 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) # FUNCTIONS check_function_exists(strncpy HAVE_STRNCPY) check_function_exists(vsnprintf HAVE_VSNPRINTF) check_function_exists(snprintf HAVE_SNPRINTF) check_function_exists(signalfd HAVE_SIGNALFD) +check_function_exists(eventfd HAVE_EVENTFD) if (UNIX) if (NOT LINUX) |