about summary refs log tree commit diff
path: root/Src/Modules/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/termcap.c')
-rw-r--r--Src/Modules/termcap.c2
1 files changed, 1 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