artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48dcfcd
)
Pull in more prototypes
author
tholo
<tholo@openbsd.org>
Mon, 25 Mar 1996 21:58:38 +0000
(21:58 +0000)
committer
tholo
<tholo@openbsd.org>
Mon, 25 Mar 1996 21:58:38 +0000
(21:58 +0000)
lib/libc/rpc/getrpcport.c
patch
|
blob
|
history
diff --git
a/lib/libc/rpc/getrpcport.c
b/lib/libc/rpc/getrpcport.c
index
24accc9
..
1d34cad
100644
(file)
--- a/
lib/libc/rpc/getrpcport.c
+++ b/
lib/libc/rpc/getrpcport.c
@@
-42,11
+42,13
@@
static char *rcsid = "$NetBSD: getrpcport.c,v 1.5 1995/06/03 22:37:24 mycroft Ex
#include <stdio.h>
#include <string.h>
#include <rpc/rpc.h>
+#include <rpc/pmap_clnt.h>
#include <netdb.h>
#include <sys/socket.h>
getrpcport(host, prognum, versnum, proto)
char *host;
+ int prognum, versnum, proto;
{
struct sockaddr_in addr;
struct hostent *hp;