summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl/cl_read.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-09-23 07:12:47 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-09-23 07:12:47 +0000
commit105a204fd2ed1b7514e2bf44df67cdd55e998b30 (patch)
treeda85a758856c4b928172f618d562e4bf57b88f7d /usr.bin/vi/cl/cl_read.c
parentec4ea0144d35ecdd92b9eec095340b0023f8c401 (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_read.c')
-rw-r--r--usr.bin/vi/cl/cl_read.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/vi/cl/cl_read.c b/usr.bin/vi/cl/cl_read.c
index 8a95a77b243..cdae2a09951 100644
--- a/usr.bin/vi/cl/cl_read.c
+++ b/usr.bin/vi/cl/cl_read.c
@@ -21,9 +21,13 @@ static const char sccsid[] = "@(#)cl_read.c 10.15 (Berkeley) 9/24/96";
#include <sys/time.h>
#include <bitstring.h>
-#include <curses.h>
#include <errno.h>
#include <fcntl.h>
+#ifdef USE_OCURSES
+#include <ocurses.h>
+#else
+#include <curses.h>
+#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>