CheckWorkingKqueue.cmake: fix missing headers

Avoid implicitly declaring functions memset() and exit()
as it is considered an error by some compilers
(e.g. Xcode clang 12 and later)
This commit is contained in:
Christopher Chavez 2021-11-11 20:12:14 -06:00
parent 9a38bc5f73
commit 89505f8513

View File

@ -2,6 +2,8 @@ include(CheckCSourceRuns)
check_c_source_runs(
"
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/event.h>