diff options
author | peter <peter@FreeBSD.org> | 1998-06-12 12:37:15 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-06-12 12:37:15 +0000 |
commit | 33df921953fd1f12415a1f829836d2567e42b497 (patch) | |
tree | 39dcbfb9710e7856dee9e5424c704d2a50717a10 /usr.bin/rpcinfo/rpcinfo.c | |
parent | 15daa2ccfe1c8f125307a3f28b341d72c5511b98 (diff) | |
download | FreeBSD-src-33df921953fd1f12415a1f829836d2567e42b497.zip FreeBSD-src-33df921953fd1f12415a1f829836d2567e42b497.tar.gz |
#include <arpa/inet.h>
Diffstat (limited to 'usr.bin/rpcinfo/rpcinfo.c')
-rw-r--r-- | usr.bin/rpcinfo/rpcinfo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/rpcinfo/rpcinfo.c b/usr.bin/rpcinfo/rpcinfo.c index f6cae71..4b77f34 100644 --- a/usr.bin/rpcinfo/rpcinfo.c +++ b/usr.bin/rpcinfo/rpcinfo.c @@ -2,7 +2,7 @@ /*static char sccsid[] = "from: @(#)rpcinfo.c 1.22 87/08/12 SMI";*/ /*static char sccsid[] = "from: @(#)rpcinfo.c 2.2 88/08/11 4.0 RPCSRC";*/ static char rcsid[] = - "$Id: rpcinfo.c,v 1.6 1997/08/06 06:49:06 charnier Exp $"; + "$Id: rpcinfo.c,v 1.7 1998/06/09 04:30:56 imp Exp $"; #endif /* @@ -54,6 +54,7 @@ static char rcsid[] = #include <signal.h> #include <ctype.h> #include <sys/param.h> +#include <arpa/inet.h> #define MAXHOSTLEN 256 @@ -71,8 +72,6 @@ static void usage(/*void*/); static u_long getprognum(/*char *arg*/); static u_long getvers(/*char *arg*/); static void get_inet_address(/*struct sockaddr_in *addr, char *host*/); -extern u_long inet_addr(); /* in 4.2BSD, arpa/inet.h called that a in_addr */ -extern char *inet_ntoa(); /* * Functions to be performed. |