230-fix-poll-h-include-warning-on-musl.patch 471 B

123456789101112131415161718
  1. dnsmasq: fix warning with poll.h include on musl
  2. Warning is:
  3. #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  4. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
  5. --- a/src/dnsmasq.h
  6. +++ b/src/dnsmasq.h
  7. @@ -82,7 +82,7 @@ typedef unsigned long long u64;
  8. #if defined(HAVE_SOLARIS_NETWORK)
  9. # include <sys/sockio.h>
  10. #endif
  11. -#include <sys/poll.h>
  12. +#include <poll.h>
  13. #include <sys/wait.h>
  14. #include <sys/time.h>
  15. #include <sys/un.h>