The POSIX standard states that poll(3P) is being made available by <poll.h>, not <sys/poll.h>. Most commands already include the correct header, with the exception of rfkill. Fix that to avoid a warning on musl-based systems. Signed-off-by: Patrick Steinhardt <ps@xxxxxx> --- sys-utils/rfkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/rfkill.c b/sys-utils/rfkill.c index 211316ce7..9c52fac3a 100644 --- a/sys-utils/rfkill.c +++ b/sys-utils/rfkill.c @@ -24,7 +24,7 @@ #include <getopt.h> #include <libsmartcols.h> #include <linux/rfkill.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/syslog.h> #include <sys/time.h> -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html