From 9d444674f5ba7401849e9fd30eccdbfc2fb53c27 Mon Sep 17 00:00:00 2001 From: Robert Lubos Date: Mon, 4 Mar 2024 14:53:43 +0100 Subject: [PATCH] [nrf noup] zephyr: Resolve POSIX signal type redefinition conflict Supplicant will now use POSIX signal implementation from Zephyr, the same wasy as it's done for the upstream (Zephyr) supplicant, as using libc signal conflicts on sigset_t type definition. Signed-off-by: Robert Lubos --- src/utils/includes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/includes.h b/src/utils/includes.h index fad478dea..d3f50d0a5 100644 --- a/src/utils/includes.h +++ b/src/utils/includes.h @@ -49,6 +49,7 @@ #include #include #include +#include #else /* defined(CONFIG_POSIX_API) */ #include #include @@ -56,4 +57,5 @@ #include #endif /* defined(CONFIG_ZEPHYR) */ +#define signal(a, b) (void)(b) #endif /* INCLUDES_H */