diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2001-04-20 14:22:23 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2001-04-20 14:22:23 +0000 |
| commit | ed28d19b969ab0d6f7983f37e7700d1f70b512fb (patch) | |
| tree | 6c632ca5dbc45cad7f8dd186a8c1821402883633 /Src/Modules/termcap.c | |
| parent | 14053: add $termcap special parameter (diff) | |
| download | zsh-ed28d19b969ab0d6f7983f37e7700d1f70b512fb.tar zsh-ed28d19b969ab0d6f7983f37e7700d1f70b512fb.tar.gz zsh-ed28d19b969ab0d6f7983f37e7700d1f70b512fb.tar.bz2 zsh-ed28d19b969ab0d6f7983f37e7700d1f70b512fb.tar.lz zsh-ed28d19b969ab0d6f7983f37e7700d1f70b512fb.tar.xz zsh-ed28d19b969ab0d6f7983f37e7700d1f70b512fb.tar.zst zsh-ed28d19b969ab0d6f7983f37e7700d1f70b512fb.zip | |
14055: include termio.h in termcap.c for the benefit of Solaris 8
Diffstat (limited to 'Src/Modules/termcap.c')
| -rw-r--r-- | Src/Modules/termcap.c | 20 |
1 files changed, 13 insertions, 7 deletions
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 <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; |
