From ed28d19b969ab0d6f7983f37e7700d1f70b512fb Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 20 Apr 2001 14:22:23 +0000 Subject: 14055: include termio.h in termcap.c for the benefit of Solaris 8 --- ChangeLog | 3 +++ Src/Modules/termcap.c | 20 +++++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 90dc42456..8636cd1a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-04-20 Clint Adams + * 14055: Src/Modules/termcap.c: include termio.h if available. + This prevents Solaris 8 from choking on term.h. + * 14053: Src/Modules/termcap.c, Src/Modules/termcap.mdd: add ${termcap} special parameter in the style of ${terminfo}. diff --git a/Src/Modules/termcap.c b/Src/Modules/termcap.c index 9da9f65cb..35fb71f64 100644 --- a/Src/Modules/termcap.c +++ b/Src/Modules/termcap.c @@ -39,13 +39,19 @@ static char termcap_nam[] = "termcap"; #ifdef HAVE_TGETENT # ifdef HAVE_TERMCAP_H # include -# endif - -# ifdef HAVE_CURSES_H -# include -# endif -# ifdef HAVE_TERM_H -# include +# ifdef HAVE_TERM_H +# include +# endif +# else +# ifdef HAVE_TERMIO_H +# include +# endif +# ifdef HAVE_CURSES_H +# include +# endif +# ifdef HAVE_TERM_H +# include +# endif # endif static Param termcap_pm; -- cgit v1.2.3