|
|
|
@ -122,6 +122,11 @@ set(CMAKE_EXTRA_INCLUDE_FILES sys/socket.h) |
|
|
|
|
check_type_size(socklen_t HAVE_SOCKLEN_T) |
|
|
|
|
set(CMAKE_EXTRA_INCLUDE_FILES) |
|
|
|
|
|
|
|
|
|
check_include_files(sys/random.h HAVE_SYS_RANDOM_H) |
|
|
|
|
set(CMAKE_EXTRA_INCLUDE_FILES sys/random.h) |
|
|
|
|
check_function_exists(getentropy HAVE_GETENTROPY) |
|
|
|
|
set(CMAKE_EXTRA_INCLUDE_FILES) |
|
|
|
|
|
|
|
|
|
check_include_files(linux/random.h HAVE_LINUX_RANDOM_H) |
|
|
|
|
set(CMAKE_EXTRA_INCLUDE_FILES linux/random.h) |
|
|
|
|
check_function_exists(getrandom HAVE_GETRANDOM) |
|
|
|
@ -134,7 +139,6 @@ check_function_exists(arc4random_buf HAVE_ARC4RANDOM_BUF) |
|
|
|
|
check_function_exists(chroot HAVE_CHROOT) |
|
|
|
|
check_function_exists(epoll_ctl HAVE_EPOLL_CTL) |
|
|
|
|
check_function_exists(fork HAVE_FORK) |
|
|
|
|
check_function_exists(getentropy HAVE_GETENTROPY) |
|
|
|
|
check_function_exists(getloadavg HAVE_GETLOADAVG) |
|
|
|
|
check_function_exists(getrlimit HAVE_GETRLIMIT) |
|
|
|
|
check_function_exists(getuid HAVE_GETUID) |
|
|
|
|