1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

14055: include termio.h in termcap.c for the benefit of Solaris 8

This commit is contained in:
Clint Adams 2001-04-20 14:22:23 +00:00
parent 92902608e4
commit ed28d19b96
2 changed files with 16 additions and 7 deletions

View file

@ -1,5 +1,8 @@
2001-04-20 Clint Adams <schizo@debian.org>
* 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}.

View file

@ -39,13 +39,19 @@ static char termcap_nam[] = "termcap";
#ifdef HAVE_TGETENT
# ifdef HAVE_TERMCAP_H
# include <termcap.h>
# endif
# ifdef HAVE_CURSES_H
# include <curses.h>
# endif
# ifdef HAVE_TERM_H
# include <term.h>
# ifdef HAVE_TERM_H
# include <term.h>
# endif
# else
# ifdef HAVE_TERMIO_H
# include <termio.h>
# endif
# ifdef HAVE_CURSES_H
# include <curses.h>
# endif
# ifdef HAVE_TERM_H
# include <term.h>
# endif
# endif
static Param termcap_pm;