summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/xntpd/xntpd/ntp_io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/xntpd/ntp_io.c b/usr.sbin/xntpd/xntpd/ntp_io.c
index bcf50f9..ba35a2f 100644
--- a/usr.sbin/xntpd/xntpd/ntp_io.c
+++ b/usr.sbin/xntpd/xntpd/ntp_io.c
@@ -10,6 +10,7 @@
#include <sys/time.h>
#ifndef __bsdi__
#include <netinet/in.h>
+#include <arpa/inet.h>
#endif
#if defined(__bsdi__) || defined(SYS_NETBSD) || defined(SYS_FREEBSD) || defined(SYS_AIX)
#include <sys/ioctl.h>
@@ -149,9 +150,6 @@ static RETSIGTYPE sigio_handler P((int));
static void block_sigio P((void));
static void unblock_sigio P(());
#endif
-#ifndef STREAMS_TLI
-extern char *inet_ntoa P((struct in_addr));
-#endif /* STREAMS_TLI */
/*
* init_io - initialize I/O data structures and call socket creation routine
OpenPOWER on IntegriCloud