From e57fe852eebebd835520bd205e5fa315b89c25d2 Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Wed, 24 Apr 2024 20:31:35 +0300 Subject: CMakeLists.txt: gentoo fix for __free_fn_t detection On Gentoo __free_fn_t wont be detected properly without this include. Signed-off-by: Denys Fedoryshchenko Reported-by: Stanislav Author: Stanislav --- accel-pppd/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt index d194eaa7..cd7186ba 100644 --- a/accel-pppd/CMakeLists.txt +++ b/accel-pppd/CMakeLists.txt @@ -48,6 +48,7 @@ ENDIF (RADIUS) INCLUDE (CheckCSourceCompiles) CHECK_C_SOURCE_COMPILES(" #include +#include int main(void) { __free_fn_t *f; -- cgit v1.2.3