summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-03-25 21:58:38 +0000
committertholo <tholo@openbsd.org>1996-03-25 21:58:38 +0000
commitc2f135c9943dc174292bb7fd648fcbd2c3153e3b (patch)
tree9ccfc860a377fd65d333f1eef952ce026514dbec
parentPull prototypes into scope (diff)
downloadwireguard-openbsd-c2f135c9943dc174292bb7fd648fcbd2c3153e3b.tar.xz
wireguard-openbsd-c2f135c9943dc174292bb7fd648fcbd2c3153e3b.zip
Pull in more prototypes
-rw-r--r--lib/libc/rpc/getrpcport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/rpc/getrpcport.c b/lib/libc/rpc/getrpcport.c
index 24accc992b8..1d34cad1e4e 100644
--- 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;