diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-09-23 07:12:47 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-09-23 07:12:47 +0000 |
commit | 105a204fd2ed1b7514e2bf44df67cdd55e998b30 (patch) | |
tree | da85a758856c4b928172f618d562e4bf57b88f7d /usr.bin/vi/cl/cl_bsd.c | |
parent | ec4ea0144d35ecdd92b9eec095340b0023f8c401 (diff) |
Make building with ocurses/termcap and curses/termlib conditional on
USE_OCURSES being defined, and define it for now. This switches nvi back
to use BSD curses.
Diffstat (limited to 'usr.bin/vi/cl/cl_bsd.c')
-rw-r--r-- | usr.bin/vi/cl/cl_bsd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/vi/cl/cl_bsd.c b/usr.bin/vi/cl/cl_bsd.c index 4a06a54af2f..b1d454556ee 100644 --- a/usr.bin/vi/cl/cl_bsd.c +++ b/usr.bin/vi/cl/cl_bsd.c @@ -17,7 +17,11 @@ static const char sccsid[] = "@(#)cl_bsd.c 8.29 (Berkeley) 7/1/96"; #include <bitstring.h> #include <ctype.h> +#ifdef USE_OCURSES +#include <ocurses.h> +#else #include <curses.h> +#endif #include <signal.h> #include <stdio.h> #include <stdlib.h> |