diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/getrpcport.c | 2 |
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; |