use <poll.h> instead of <sys/poll.h>

The manpage of poll(2) states that the prototype of poll is defined
in <poll.h>. Use that header file instead of <sys/poll.h> to allow
compilation against musl-libc.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from v1.4 branch commit 4cad505fc9)
pull/239/head
Romain Naour 5 years ago
parent d85b7ac777
commit a7d744d55d

@ -23,7 +23,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/poll.h> #include <poll.h>
#include <linux/if_packet.h> #include <linux/if_packet.h>
#include <linux/if_ether.h> #include <linux/if_ether.h>
#include <linux/if_arp.h> #include <linux/if_arp.h>

Loading…
Cancel
Save