From: Ulrich Drepper Date: Wed, 19 Nov 1997 23:37:06 +0000 (+0000) Subject: Include needed headers and declare myaddress. X-Git-Tag: cvs/glibc-2_0_6-pre2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d3e6bb77f93ffae29540d96f54543e47ad16e4;p=thirdparty%2Fglibc.git Include needed headers and declare myaddress. --- 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 */