#include <arpa/inet.h>

This commit is contained in:
Peter Wemm 1998-06-12 12:37:15 +00:00
parent e6b32a86af
commit 2180733f75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36912

View File

@ -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.