Look for sys/termios.h - needed for TIOCGWINSZ on some systtems.

This commit is contained in:
Dianne Skoll
2025-10-12 20:43:41 -04:00
parent 2dc5a7776d
commit cab749b651
5 changed files with 15 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ AC_PATH_PROG([PERL], [perl])
dnl Checks for libraries.
AC_CHECK_LIB(m, sqrt)
AC_CHECK_LIB(readline, readline)
AC_CHECK_HEADERS_ONCE([sys/time.h stdint.h readline/readline.h readline/history.h])
AC_CHECK_HEADERS_ONCE([sys/time.h sys/termios.h stdint.h readline/readline.h readline/history.h])
dnl Integer sizes
AC_CHECK_SIZEOF(unsigned int)