about summary refs log tree commit diff
path: root/Src/system.h
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/system.h
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/system.h')
-rw-r--r--Src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index 50661e0fd..6966f517b 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -312,6 +312,10 @@ struct timezone {
 
 #ifdef HAVE_TERMCAP_H
 # include <termcap.h>
+#else
+# ifdef HAVE_TERM_H
+#  include <term.h>
+# endif
 #endif
 
 #if defined(GWINSZ_IN_SYS_IOCTL) || defined(CLOBBERS_TYPEAHEAD)