diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-04-24 06:48:54 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-04-24 06:48:54 +0000 |
commit | 8baeec4637c8d4cdeec63c6f023766e22afa6a48 (patch) | |
tree | 3c4a3a3c7017dd96a236beb0a43db1ff8bcb8cd7 /Src/Modules | |
parent | e2e912189359b20efc0b178fd913728e38502b3e (diff) | |
download | zsh-8baeec4637c8d4cdeec63c6f023766e22afa6a48.tar.gz zsh-8baeec4637c8d4cdeec63c6f023766e22afa6a48.tar.xz zsh-8baeec4637c8d4cdeec63c6f023766e22afa6a48.zip |
Fix term* linkage _again_.
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/termcap.c | 2 | ||||
-rw-r--r-- | Src/Modules/terminfo.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Src/Modules/termcap.c b/Src/Modules/termcap.c index 1b4107248..845d29f6d 100644 --- a/Src/Modules/termcap.c +++ b/Src/Modules/termcap.c @@ -362,7 +362,7 @@ int boot_(Module m) { #ifdef HAVE_TGETENT -# if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H) +# ifdef HAVE_SETUPTERM setupterm((char *)0, 1, (int *)0); # endif 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; |