summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-19 23:37:06 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-19 23:37:06 +0000
commitf5d3e6bb77f93ffae29540d96f54543e47ad16e4 (patch)
tree7d3e18fa303189f0ebcf94c66aa6bf478d564954 /sunrpc
parente6a8d860ba45c2828940de2c07e8be948171e12c (diff)
Include needed headers and declare myaddress.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc/clnt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sunrpc/rpc/clnt.h b/sunrpc/rpc/clnt.h
index 305e26d241..d0ffdbcfe6 100644
--- a/sunrpc/rpc/clnt.h
+++ b/sunrpc/rpc/clnt.h
@@ -38,6 +38,9 @@
#define _RPC_CLNT_H 1
#include <features.h>
+#include <sys/types.h>
+#include <rpc/types.h>
+#include <rpc/auth.h>
__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 */