When using Musl, the `features.h` header is not placed within the `sys/`
directory, so the build fails.
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #9
extern "C" {
#endif
+#include <uk/config.h>
+
+#ifdef CONFIG_LIBMUSL
+#include <features.h>
+#else
#include <sys/features.h>
+#endif
#ifdef __cplusplus
}