mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
14123: don't include curses.h in termcap.c if term.h doesn't need it
This commit is contained in:
parent
b4b6d57e2c
commit
6dc04f1329
4 changed files with 34 additions and 4 deletions
|
@ -55,7 +55,9 @@ static char termcap_nam[] = "termcap";
|
|||
# ifdef HAVE_TERMIO_H
|
||||
# include <termio.h>
|
||||
# endif
|
||||
# include <curses.h>
|
||||
# ifdef TERM_H_NEEDS_CURSES_H
|
||||
# include <curses.h>
|
||||
# endif
|
||||
# include <term.h>
|
||||
# else
|
||||
# ifdef USES_TERMCAP_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue