about summary refs log tree commit diff
path: root/Src/Modules/terminfo.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-04-24 06:48:54 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-04-24 06:48:54 +0000
commit8baeec4637c8d4cdeec63c6f023766e22afa6a48 (patch)
tree3c4a3a3c7017dd96a236beb0a43db1ff8bcb8cd7 /Src/Modules/terminfo.c
parente2e912189359b20efc0b178fd913728e38502b3e (diff)
downloadzsh-8baeec4637c8d4cdeec63c6f023766e22afa6a48.tar.gz
zsh-8baeec4637c8d4cdeec63c6f023766e22afa6a48.tar.xz
zsh-8baeec4637c8d4cdeec63c6f023766e22afa6a48.zip
Fix term* linkage _again_.
Diffstat (limited to 'Src/Modules/terminfo.c')
-rw-r--r--Src/Modules/terminfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Modules/terminfo.c b/Src/Modules/terminfo.c
index 3e70bf279..5b9d0bdbd 100644
--- a/Src/Modules/terminfo.c
+++ b/Src/Modules/terminfo.c
@@ -347,7 +347,9 @@ int
 boot_(Module m)
 {
 #ifdef HAVE_TIGETSTR
+# ifdef HAVE_SETUPTERM
     setupterm((char *)0, 1, (int *)0);
+# endif
 
     if (!createtihash())
     	return 1;