]> 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 Jul 2018 14:04:49 +0000 (16:04 +0200)
commitab359a6c3bc7fc25c1464ccc8f53f6f63053a9a1
treed3238c81fcf16bbe8317e60764ff57418452c720
parent366545e745de2a7391dadf1e9f65993efe7a80af
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