From d4310d93ac17e20b0851d2f6fcdc1dc5dea1edbe Mon Sep 17 00:00:00 2001 From: Stefan Jumarea Date: Sat, 29 Oct 2022 10:38:04 +0300 Subject: [PATCH] include: Add location of features.h file for Musl When using Musl, the `features.h` header is not placed within the `sys/` directory, so the build fails. Signed-off-by: Stefan Jumarea Reviewed-by: Maria Sfiraiala Reviewed-by: Razvan Deaconescu Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #9 --- include/features.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/features.h b/include/features.h index feb01db..d882894 100644 --- a/include/features.h +++ b/include/features.h @@ -34,7 +34,13 @@ extern "C" { #endif +#include + +#ifdef CONFIG_LIBMUSL +#include +#else #include +#endif #ifdef __cplusplus } -- 2.39.5