diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-15 05:22:15 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-15 05:22:15 +0000 |
commit | eca4b7c7cae34bc02a5b3f67795bcffa97e9aae5 (patch) | |
tree | b2055c4ec5659f7ed7dd6a01cfc9797bf10faa79 /usr.bin/window/char.h | |
parent | eebf512f9ccf68c32dd3357d8b220432728968c3 (diff) |
Modify to build with ncurses, not ocurses. A proper port to terminfo
is probably not worth the effort.
Diffstat (limited to 'usr.bin/window/char.h')
-rw-r--r-- | usr.bin/window/char.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/window/char.h b/usr.bin/window/char.h index 9856454f31b..f078305b132 100644 --- a/usr.bin/window/char.h +++ b/usr.bin/window/char.h @@ -1,4 +1,4 @@ -/* $OpenBSD: char.h,v 1.4 1999/11/14 17:34:24 millert Exp $ */ +/* $OpenBSD: char.h,v 1.5 2000/04/15 05:22:14 millert Exp $ */ /* $NetBSD: char.h,v 1.3 1995/09/28 10:34:01 tls Exp $ */ /* @@ -50,6 +50,9 @@ * using unctrl() by wwwrite() if ww_unctrl is set. */ #include <curses.h> +#if defined(TERMINFO) || defined(NCURSES_VERSION) +#include <term.h> +#endif extern char _cmap[]; #define ctrl(c) (c & 0x1f) |