summaryrefslogtreecommitdiffstats
path: root/Include/py_curses.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/py_curses.h')
-rw-r--r--Include/py_curses.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/py_curses.h b/Include/py_curses.h
index 62afb5e..b5f7e54 100644
--- a/Include/py_curses.h
+++ b/Include/py_curses.h
@@ -6,6 +6,10 @@
#include <ncurses.h>
#else
#include <curses.h>
+#ifdef HAVE_TERM_H
+/* for tigetstr, which is not declared in SysV curses */
+#include <term.h>
+#endif
#endif
#ifdef __cplusplus