From: Christopher Chavez Date: Fri, 12 Nov 2021 02:12:14 +0000 (-0600) Subject: CheckWorkingKqueue.cmake: fix missing headers X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89505f8513b8590e7a7700d481c20562d0726d54;p=libevent 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) --- diff --git a/cmake/CheckWorkingKqueue.cmake b/cmake/CheckWorkingKqueue.cmake index f22f011b..2f482783 100644 --- a/cmake/CheckWorkingKqueue.cmake +++ b/cmake/CheckWorkingKqueue.cmake @@ -2,6 +2,8 @@ include(CheckCSourceRuns) check_c_source_runs( " +#include +#include #include #include #include