summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-02-20 04:33:03 +0000
committerjb <jb@FreeBSD.org>1998-02-20 04:33:03 +0000
commit0c290fd53e4ef28be441be8355d350329b5c3804 (patch)
tree11d2c91a30ebce50e2b505e16e9555d57d18f804 /usr.bin/telnet
parent78fe14dd306d7197c2607622fbaa56f153c7734b (diff)
downloadFreeBSD-src-0c290fd53e4ef28be441be8355d350329b5c3804.zip
FreeBSD-src-0c290fd53e4ef28be441be8355d350329b5c3804.tar.gz
Add #include <string.h> to get prototypes.
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r--usr.bin/telnet/commands.c1
-rw-r--r--usr.bin/telnet/ring.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index 5cf8b48..0d190cb 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -50,6 +50,7 @@ static char sccsid[] = "@(#)commands.c 8.2 (Berkeley) 12/15/93";
#include <fcntl.h>
#endif /* CRAY */
+#include <string.h>
#include <signal.h>
#include <netdb.h>
#include <ctype.h>
diff --git a/usr.bin/telnet/ring.c b/usr.bin/telnet/ring.c
index 6de5a67..dc18750 100644
--- a/usr.bin/telnet/ring.c
+++ b/usr.bin/telnet/ring.c
@@ -47,6 +47,7 @@ static char sccsid[] = "@(#)ring.c 8.1 (Berkeley) 6/6/93";
*/
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#ifdef size_t
OpenPOWER on IntegriCloud