summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_tcp.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-09-22 05:11:06 +0000
committermillert <millert@openbsd.org>1997-09-22 05:11:06 +0000
commit8e26201bba72e409ffc38ea566c79be363aa9549 (patch)
treeb9670ee05472681ef3940ff61ae00123a95888ab /lib/libc/rpc/clnt_tcp.c
parentPrototype __seekdir() before using. (diff)
downloadwireguard-openbsd-8e26201bba72e409ffc38ea566c79be363aa9549.tar.xz
wireguard-openbsd-8e26201bba72e409ffc38ea566c79be363aa9549.zip
Some -Wall.
Diffstat (limited to 'lib/libc/rpc/clnt_tcp.c')
-rw-r--r--lib/libc/rpc/clnt_tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/clnt_tcp.c b/lib/libc/rpc/clnt_tcp.c
index ae13ad0ae00..b3efd3123f1 100644
--- a/lib/libc/rpc/clnt_tcp.c
+++ b/lib/libc/rpc/clnt_tcp.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.14 1997/04/29 08:52:31 deraadt Exp $";
+static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.15 1997/09/22 05:11:06 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -52,6 +52,7 @@ static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.14 1997/04/29 08:52:31 deraadt Ex
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <rpc/rpc.h>
#include <sys/socket.h>