diff options
author | Clint Adams <clint@users.sourceforge.net> | 2001-04-26 15:48:14 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2001-04-26 15:48:14 +0000 |
commit | 6dc04f1329e79d5bb0934c33413c4b1af9431dfc (patch) | |
tree | 56513723999ad85decb6d28a496eca91a1c11d81 /Src | |
parent | b4b6d57e2ce7420e6f3396f529190d15f46b3256 (diff) | |
download | zsh-6dc04f1329e79d5bb0934c33413c4b1af9431dfc.tar.gz zsh-6dc04f1329e79d5bb0934c33413c4b1af9431dfc.tar.xz zsh-6dc04f1329e79d5bb0934c33413c4b1af9431dfc.zip |
14123: don't include curses.h in termcap.c if term.h doesn't need it
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/termcap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Modules/termcap.c b/Src/Modules/termcap.c index e48c8a16f..4ce73bd45 100644 --- a/Src/Modules/termcap.c +++ b/Src/Modules/termcap.c @@ -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 |