summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-11-14 06:33:14 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-11-14 06:33:14 +0000
commitfc1a87209da8f42c3897fcdd5f37ff109d8dd308 (patch)
tree3ec5b8de8f43707edca9df461f62857d5194fa66
parenta51c348ac152c571fc1d166b2fdad3f4fe52084f (diff)
memcpy needs string.h.
-rw-r--r--lib/libc/rpc/svc_auth_unix.c3
-rw-r--r--lib/libc/rpc/svc_run.c3
-rw-r--r--lib/libc/rpc/xdr_mem.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c
index a1eb7b8ce52..079aa98aa7c 100644
--- a/lib/libc/rpc/svc_auth_unix.c
+++ b/lib/libc/rpc/svc_auth_unix.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.3 1996/08/19 08:31:53 tholo Exp $";
+static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.4 1996/11/14 06:33:11 etheisen Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -44,6 +44,7 @@ static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.3 1996/08/19 08:31:53 tholo
#include <stdio.h>
#include <rpc/rpc.h>
+#include <string.h>
/*
* Unix longhand authenticator
diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c
index 0a8596c782d..c7cccb3f4d7 100644
--- a/lib/libc/rpc/svc_run.c
+++ b/lib/libc/rpc/svc_run.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: svc_run.c,v 1.8 1996/09/15 09:31:40 tholo Exp $";
+static char *rcsid = "$OpenBSD: svc_run.c,v 1.9 1996/11/14 06:33:12 etheisen Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -39,6 +39,7 @@ static char *rcsid = "$OpenBSD: svc_run.c,v 1.8 1996/09/15 09:31:40 tholo Exp $"
#include <sys/errno.h>
#include <unistd.h>
#include <stdlib.h>
+#include <string.h>
extern int __svc_fdsetsize;
extern fd_set *__svc_fdset;
diff --git a/lib/libc/rpc/xdr_mem.c b/lib/libc/rpc/xdr_mem.c
index cb848cab079..0277b8685f2 100644
--- a/lib/libc/rpc/xdr_mem.c
+++ b/lib/libc/rpc/xdr_mem.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: xdr_mem.c,v 1.5 1996/09/15 09:31:43 tholo Exp $";
+static char *rcsid = "$OpenBSD: xdr_mem.c,v 1.6 1996/11/14 06:33:13 etheisen Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -42,6 +42,7 @@ static char *rcsid = "$OpenBSD: xdr_mem.c,v 1.5 1996/09/15 09:31:43 tholo Exp $"
*
*/
+#include <string.h>
#include <rpc/types.h>
#include <rpc/xdr.h>