diff --git a/configure.ac b/configure.ac index 42bee5044..51a7beece 100644 --- a/configure.ac +++ b/configure.ac @@ -327,9 +327,7 @@ AC_LINK_IFELSE( #include #endif -#ifdef HAVE_STROPTS_H -#include -#endif], +, [struct winsize termsize = {0}; TIOCGWINSZ;])], [AC_MSG_RESULT(yes); AC_DEFINE([HAVE_WINSIZE], [1], [Define to 1 if the winsize struct and TIOCGWINSZ macro exist])], AC_MSG_RESULT(no))