diff options
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; |