summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl/cl_main.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_main.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_main.c')
-rw-r--r--usr.bin/vi/cl/cl_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/vi/cl/cl_main.c b/usr.bin/vi/cl/cl_main.c
index 2889f709cbb..a5f0668b7c8 100644
--- a/usr.bin/vi/cl/cl_main.c
+++ b/usr.bin/vi/cl/cl_main.c
@@ -17,9 +17,13 @@ static const char sccsid[] = "@(#)cl_main.c 10.36 (Berkeley) 10/14/96";
#include <sys/queue.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>