dnsmasq: bump to dnsmasq 2.80test6
[openwrt/openwrt.git] / package / network / services / dnsmasq / patches / 230-fix-poll-h-include-warning-on-musl.patch
1 dnsmasq: fix warning with poll.h include on musl
2
3 Warning is:
4 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
5
6 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7
8 --- a/src/dnsmasq.h
9 +++ b/src/dnsmasq.h
10 @@ -95,7 +95,7 @@ typedef unsigned long long u64;
11 #if defined(HAVE_SOLARIS_NETWORK)
12 # include <sys/sockio.h>
13 #endif
14 -#include <sys/poll.h>
15 +#include <poll.h>
16 #include <sys/wait.h>
17 #include <sys/time.h>
18 #include <sys/un.h>