Fix non-standard usage of <sys/poll.h>

Fixes the following build warning with musl libc:

In file included from ../src/util/rfkill.cpp:24:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
This commit is contained in:
Luca Weiss 2020-09-06 21:48:42 +02:00
parent 44119db436
commit 98b6d7f283
No known key found for this signature in database
GPG Key ID: 72D843B89D4DD756
1 changed files with 1 additions and 1 deletions

View File

@ -20,8 +20,8 @@
#include <fcntl.h> #include <fcntl.h>
#include <linux/rfkill.h> #include <linux/rfkill.h>
#include <poll.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/poll.h>
#include <unistd.h> #include <unistd.h>
#include <cerrno> #include <cerrno>