]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rfkill: include <poll.h> instead of <sys/poll.h>
authorPatrick Steinhardt <ps@pks.im>
Tue, 10 Apr 2018 12:36:32 +0000 (13:36 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Apr 2018 11:04:53 +0000 (13:04 +0200)
commit74ccba3ed897ca08df5f38e62a76c63e3ad01435
treec4bd574f92dd6fa985d510c824372f13eae7bcdd
parentcc6ab5efb13453cc8b5660ab268992e4861c73a7
rfkill: include <poll.h> instead of <sys/poll.h>

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@pks.im>
sys-utils/rfkill.c