]> granicus.if.org Git - pdns/commitdiff
resolver.cc: fix warnings with gcc on musl-libc
authorJames Taylor <james@jtaylor.id.au>
Sat, 9 Jul 2016 09:38:42 +0000 (09:38 +0000)
committerJames Taylor <james@jtaylor.id.au>
Tue, 19 Jul 2016 13:27:40 +0000 (13:27 +0000)
resolver.cc makes an incorrect include directive of `poll.h`. The
correct syntax for inclusion, according to `man 2 poll` is:

`#include <poll.h>`

This commit prevents warnings from being displayed due to going through
musl-libc's compatibility wrappers

pdns/resolver.cc

index 0220e157366f2976ed3ba36276027fdaa53e3351..673cb9e78a4e64a205d5bdc350136678b1701278 100644 (file)
@@ -47,7 +47,7 @@
 
 
 #include "dns_random.hh"
-#include <sys/poll.h>
+#include <poll.h>
 #include "gss_context.hh"
 #include "namespaces.hh"