diff --git a/src/dns.c b/src/dns.c
index cd068fb363744b05c06f637a53ec248bd4d48ea5..5e114b16da8e555d7e5c148735c2b35d986760c1 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
#if HAVE_LIBPCAP && HAVE_LIBPTHREAD
# include <pthread.h>
# include <pcap.h>
#if HAVE_LIBPCAP && HAVE_LIBPTHREAD
# include <pthread.h>
# include <pcap.h>
-# include <sys/poll.h>
+# include <poll.h>
# define DNS_HAVE_READ 1
#else
# define DNS_HAVE_READ 0
# define DNS_HAVE_READ 1
#else
# define DNS_HAVE_READ 0