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_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[] =
#endif
static char *config_keys[] =