From f5d3e6bb77f93ffae29540d96f54543e47ad16e4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 19 Nov 1997 23:37:06 +0000 Subject: [PATCH] Include needed headers and declare myaddress. --- sunrpc/rpc/clnt.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h index 305e26d2414..d0ffdbcfe64 100644 --- a/sunrpc/rpc/clnt.h +++ b/sunrpc/rpc/clnt.h @@ -38,6 +38,9 @@ #define _RPC_CLNT_H 1 #include +#include +#include +#include __BEGIN_DECLS @@ -337,6 +340,12 @@ extern struct rpc_createerr rpc_createerr; extern char *clnt_sperrno __P ((enum clnt_stat __num)); /* string */ +/* + * get the local host's IP address without consulting + * name service library functions + */ +extern void get_myaddress __P ((struct sockaddr_in *)); + #define UDPMSGSIZE 8800 /* rpc imposed limit on udp msg size */ #define RPCSMALLMSGSIZE 400 /* a more reasonable packet size */ -- 2.47.2