summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-12 14:58:03 +0000
committerpeter <peter@FreeBSD.org>1998-06-12 14:58:03 +0000
commit526d5b8cd74e7840bf26f1f12498f31a742cec47 (patch)
treedc0772493cbb45452624d724228cbd36ad1c78f4 /usr.sbin/xntpd
parent43ad42f95825177e6682697a85213ba28a700fc0 (diff)
downloadFreeBSD-src-526d5b8cd74e7840bf26f1f12498f31a742cec47.zip
FreeBSD-src-526d5b8cd74e7840bf26f1f12498f31a742cec47.tar.gz
#include <arpa/inet.h> instead of rolling own prototype.
Diffstat (limited to 'usr.sbin/xntpd')
-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