aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2016-05-19 11:55:15 +0100
committerJo-Philipp Wich <jo@mein.io>2016-05-24 13:30:58 +0200
commita6e96998fb54d1eea1f0e86940a4daf3708f796d (patch)
tree1ba39d03a2fa512241d11a443d7ae1ba6c40c4f8 /package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch
parent0cc58a0f98be555b101d9dffe4082b132741e40a (diff)
downloadupstream-a6e96998fb54d1eea1f0e86940a4daf3708f796d.tar.gz
upstream-a6e96998fb54d1eea1f0e86940a4daf3708f796d.tar.bz2
upstream-a6e96998fb54d1eea1f0e86940a4daf3708f796d.zip
dnsmasq: update to dnsmasq v2.76
Update to dnsmasq2.76. Refresh patches. Add new patch to fix musl 'poll.h' location warning. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch')
-rw-r--r--package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch b/package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch
new file mode 100644
index 0000000000..19300f7d66
--- /dev/null
+++ b/package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch
@@ -0,0 +1,18 @@
+dnsmasq: fix warning with poll.h include on musl
+
+Warning is:
+ #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
+
+Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
+
+--- a/src/dnsmasq.h
++++ b/src/dnsmasq.h
+@@ -82,7 +82,7 @@ typedef unsigned long long u64;
+ #if defined(HAVE_SOLARIS_NETWORK)
+ # include <sys/sockio.h>
+ #endif
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/wait.h>
+ #include <sys/time.h>
+ #include <sys/un.h>