mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
4b4a4af814
Fixes CVE-2017-14491, CVE-2017-14492, CVE-2017-14493, CVE-2017-14494, 2017-CVE-14495, 2017-CVE-14496 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
19 lines
471 B
Diff
19 lines
471 B
Diff
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
|
|
@@ -88,7 +88,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>
|