[Dnsmasq-discuss] [PATCH] Use <poll.h> instead of <sys/poll.h>

DDoSolitary ddosolitary at gmail.com
Sun Apr 28 01:19:15 BST 2019


The former should be used according to POSIX, otherwise it causes bunches of warnings when compiling for musl-based distros like Alpine Linux.

/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^~~~~~~
Regards,
DDoSolitary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-poll.h-instead-of-sys-poll.h.patch
Type: application/octet-stream
Size: 851 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20190428/2db04139/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 854 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20190428/2db04139/attachment.sig>


More information about the Dnsmasq-discuss mailing list