From: Stefan Jumarea Date: Sat, 29 Oct 2022 07:38:04 +0000 (+0300) Subject: include: Add location of features.h file for Musl X-Git-Tag: RELEASE-0.11.0~5 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d4310d93ac17e20b0851d2f6fcdc1dc5dea1edbe;p=unikraft%2Flibs%2Flibcxx.git 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 --- 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 }