aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-06-12 14:58:03 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-06-12 14:58:03 +0000
commitd1d9ad56a96bcb807e905f35dc86a57472be2a5d (patch)
tree84187fc717c66e9632534e963d8f7d34f6bf82d4 /usr.sbin
parentca979f0fa6b9732c319d5cdc5588ace79da03292 (diff)
downloadsrc-d1d9ad56a96bcb807e905f35dc86a57472be2a5d.tar.gz
src-d1d9ad56a96bcb807e905f35dc86a57472be2a5d.zip
#include <arpa/inet.h> instead of rolling own prototype.
Notes
Notes: svn path=/head/; revision=36918
Diffstat (limited to 'usr.sbin')
-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 bcf50f9bb344..ba35a2ffa4b4 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