poll.h header should not be included from include/sys. This works fine on Glibc but fails on musl: In file included from tools/nciattach.c:42: /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include to [-Werror=cpp] 1 | #warning redirecting incorrect #include to Signed-off-by: Krzysztof Kozlowski --- tools/nciattach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nciattach.c b/tools/nciattach.c index 370f98bb176c..574c0fbe784a 100644 --- a/tools/nciattach.c +++ b/tools/nciattach.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -39,7 +40,6 @@ #include #include #include -#include #include #include #include -- 2.27.0