mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
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:
parent
9a38bc5f73
commit
89505f8513
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user