1
0
Fork 0
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:
Clint Adams 2001-04-26 15:48:14 +00:00
parent b4b6d57e2c
commit 6dc04f1329
4 changed files with 34 additions and 4 deletions

View file

@ -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