From 01a166515d0ef57229ca9ab5dbdd2174e440e7d1 Mon Sep 17 00:00:00 2001 From: Ioannis Konstantelias Date: Tue, 28 Jan 2025 18:35:40 +0000 Subject: [PATCH] Again OpenBSD --- scripts/utils.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/utils.cmake b/scripts/utils.cmake index 1c478cc..6cd42bb 100644 --- a/scripts/utils.cmake +++ b/scripts/utils.cmake @@ -18,7 +18,9 @@ function(generate_configuration in out) include(CheckFunctionExists) check_function_exists(gethostbyname2 HAVE_GETHOSTBYNAME2) - check_function_exists(timer_create HAVE_POSIX_TIMER) + + include(CheckSymbolExists) + check_function_exists(timer_t "timer_t.h" HAVE_POSIX_TIMER) include(CheckStructHasMember) if (${HAVE_NET_ETHERNET_H})