Use poll.h instead of sys/poll.h

poll.h is the standard header name, and musl warns for including the wrong
one.

Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 200e35e604)
r14.1.x
Bobby Bingham 1 year ago committed by Michele Calgaro
parent 597a5fc507
commit dc87c6b329
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -22,7 +22,7 @@
#include <string.h>
#include <sched.h>
#include <errno.h>
#include <sys/poll.h>
#include <poll.h>
#include <sys/stat.h>
#include <sys/time.h>

@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include <string.h>
#include <sys/poll.h>
#include <poll.h>
#include <sys/time.h>
#include <errno.h>

Loading…
Cancel
Save