summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/clnt_simp.c2
-rw-r--r--sunrpc/rpc/auth_des.h11
2 files changed, 7 insertions, 6 deletions
diff --git a/sunrpc/clnt_simp.c b/sunrpc/clnt_simp.c
index 30a051724f..f528c3018b 100644
--- a/sunrpc/clnt_simp.c
+++ b/sunrpc/clnt_simp.c
@@ -45,7 +45,7 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
#include <rpc/rpc.h>
#include <sys/socket.h>
#include <netdb.h>
-#include <strings.h>
+#include <string.h>
static struct callrpc_private
{
diff --git a/sunrpc/rpc/auth_des.h b/sunrpc/rpc/auth_des.h
index 87fb8f0e99..0177ede5e9 100644
--- a/sunrpc/rpc/auth_des.h
+++ b/sunrpc/rpc/auth_des.h
@@ -17,9 +17,10 @@
Boston, MA 02111-1307, USA. */
#ifndef _RPC_AUTH_DES_H
-
#define _RPC_AUTH_DES_H 1
+
#include <sys/cdefs.h>
+#include <rpc/auth.h>
__BEGIN_DECLS
@@ -34,9 +35,9 @@ enum authdes_namekind
a conversation key and the window */
struct authdes_fullname
{
- char *name; /* network name of client, up to MAXNETNAMELEN */
- des_block key; /* conversation key */
- u_long window; /* associated window */
+ char *name; /* network name of client, up to MAXNETNAMELEN */
+ des_block key; /* conversation key */
+ u_long window; /* associated window */
};
/* A credential */
@@ -53,7 +54,7 @@ struct authdes_verf
union
{
struct timeval adv_ctime; /* clear time */
- des_block adv_xtime; /* crypt time */
+ des_block adv_xtime; /* crypt time */
}
adv_time_u;
u_long adv_int_u;