diff options
author | dgregor <dgregor@cvs.openbsd.org> | 1997-06-24 02:40:16 +0000 |
---|---|---|
committer | dgregor <dgregor@cvs.openbsd.org> | 1997-06-24 02:40:16 +0000 |
commit | b97ece511128283a62622b08198f7e0bda0cb37b (patch) | |
tree | 6c10b36c6db40af735282491265fbbcf4569feaf /usr.bin | |
parent | 56a2ed1629cf0f00e3c97597c62d84523414e2c4 (diff) |
Add #include for string.h to get declaration for strrchr()
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tput/tput.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tput/tput.c b/usr.bin/tput/tput.c index cea5160ff31..44786dac39c 100644 --- a/usr.bin/tput/tput.c +++ b/usr.bin/tput/tput.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tput.c,v 1.4 1997/03/07 21:54:48 gene Exp $ */ +/* $OpenBSD: tput.c,v 1.5 1997/06/24 02:40:15 dgregor Exp $ */ /* $NetBSD: tput.c,v 1.8 1995/08/31 22:11:37 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)tput.c 8.3 (Berkeley) 4/28/95"; #endif -static char rcsid[] = "$OpenBSD: tput.c,v 1.4 1997/03/07 21:54:48 gene Exp $"; +static char rcsid[] = "$OpenBSD: tput.c,v 1.5 1997/06/24 02:40:15 dgregor Exp $"; #endif /* not lint */ #include <termios.h> @@ -54,6 +54,7 @@ static char rcsid[] = "$OpenBSD: tput.c,v 1.4 1997/03/07 21:54:48 gene Exp $"; #include <stdio.h> #include <stdlib.h> #include <unistd.h> +#include <string.h> static void prlongname __P((char *)); static void setospeed __P((void)); |