src/{dns,ntpd}.c: Use <poll.h> rather than <sys/poll.h>.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 13 Jan 2007 15:44:19 +0000 (16:44 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 13 Jan 2007 15:44:19 +0000 (16:44 +0100)
src/dns.c
src/ntpd.c

index cd068fb..5e114b1 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -32,7 +32,7 @@
 #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
index b65a9e8..e37b3a1 100644 (file)
@@ -51,8 +51,8 @@
 #if HAVE_NETINET_TCP_H
 # include <netinet/tcp.h>
 #endif
-#if HAVE_SYS_POLL_H
-# include <sys/poll.h>
+#if HAVE_POLL_H
+# include <poll.h>
 #endif
 
 static char *config_keys[] =