about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index 50661e0fd..6966f517b 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -312,6 +312,10 @@ struct timezone {
 
 #ifdef HAVE_TERMCAP_H
 # include <termcap.h>
+#else
+# ifdef HAVE_TERM_H
+#  include <term.h>
+# endif
 #endif
 
 #if defined(GWINSZ_IN_SYS_IOCTL) || defined(CLOBBERS_TYPEAHEAD)