summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-04-12 17:11:39 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-04-12 17:11:39 +0000
commit34f65c6f32a614adb871c0dce7d602e797c0585f (patch)
tree24fb6282be34f99a1dea96aaa4703839c35192b9 /Src/Modules
parent25bcf866261b9bcffd1cee82521bce7da79edd8a (diff)
downloadzsh-34f65c6f32a614adb871c0dce7d602e797c0585f.tar.gz
zsh-34f65c6f32a614adb871c0dce7d602e797c0585f.tar.xz
zsh-34f65c6f32a614adb871c0dce7d602e797c0585f.zip
Fiddle with <term.h> vs. <termcap.h> inclusion.
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/terminfo.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Src/Modules/terminfo.c b/Src/Modules/terminfo.c
index 56ab62fb7..b3c3c2876 100644
--- a/Src/Modules/terminfo.c
+++ b/Src/Modules/terminfo.c
@@ -29,17 +29,14 @@
 
 #include "terminfo.mdh"
 #include "terminfo.pro"
-#ifdef HAVE_CURSES_H
-# include <curses.h>
-#endif
-#ifdef HAVE_TERM_H
-# include <term.h>
-#endif
 
 static char terminfo_nam[] = "terminfo";
 
 /**/
 #ifdef HAVE_TIGETSTR
+# ifdef HAVE_CURSES_H
+#  include <curses.h>
+# endif
 
 static Param terminfo_pm;