]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Include needed headers and declare myaddress.
authorUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:37:06 +0000 (23:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:37:06 +0000 (23:37 +0000)
sunrpc/rpc/clnt.h

index 305e26d2414dfcbb861225e5a6cd79a8fd83550a..d0ffdbcfe64070f180affc5183bae87524f55db4 100644 (file)
@@ -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 */