fix #105 EINTR handled too defensively when polling
[awesomized/libmemcached] / CMake / _Include.cmake
index c75c741f9a8eaa4a304fa2a81fd94d42780b551a..a5a98710aaf31f3a3d21a71ef1015ce9e408ac6d 100644 (file)
@@ -6,7 +6,6 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
 endif()
 
 include(CMakePushCheckState)
-include(GNUInstallDirs)
 include(CMakePackageConfigHelpers)
 
 macro(make_have_identifier NAME ID)
@@ -135,8 +134,11 @@ check_type(in_port_t netinet/in.h)
 check_type(pid_t sys/types.h)
 check_type(ssize_t sys/types.h)
 check_type("struct msghdr" sys/socket.h)
+check_type("struct timespec" time.h)
 
 check_cxx_symbol(abi::__cxa_demangle cxxabi.h)
+check_symbol(CLOCK_MONOTONIC time.h)
+check_symbol(clock_gettime time.h)
 check_symbol(ERESTART errno.h)
 check_symbol(fcntl fcntl.h)
 check_symbol(gettimeofday sys/time.h)