summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f96b39)
raw | patch | inline | side by side (parent: 7f96b39)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 13 Jan 2007 15:44:19 +0000 (16:44 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 13 Jan 2007 15:44:19 +0000 (16:44 +0100) |
src/dns.c | patch | blob | history | |
src/ntpd.c | patch | blob | history |
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>
-# include <sys/poll.h>
+# include <poll.h>
# define DNS_HAVE_READ 1
#else
# define DNS_HAVE_READ 0
diff --git a/src/ntpd.c b/src/ntpd.c
index b65a9e8fa72f2dac8e3ed9d1a808f6d9ce4583da..e37b3a1cefad037e286dd4bde0cd640940740898 100644 (file)
--- a/src/ntpd.c
+++ b/src/ntpd.c
#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[] =