aboutsummaryrefslogtreecommitdiff
path: root/readline/tcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'readline/tcap.h')
-rw-r--r--readline/tcap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/readline/tcap.h b/readline/tcap.h
index 9d09b7a..dbc1789 100644
--- a/readline/tcap.h
+++ b/readline/tcap.h
@@ -31,6 +31,8 @@
# include "rltty.h"
# endif
# include <termcap.h>
+#elif defined (HAVE_NCURSES_TERMCAP_H)
+# include <ncurses/termcap.h>
#else
/* On Solaris2, sys/types.h #includes sys/reg.h, which #defines PC.