Skip to content

Commit

Permalink
Fix test for ioctl.h version of struct winsize.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Jul 4, 2024
1 parent 2fe1608 commit 6335d0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -1237,11 +1237,13 @@ AC_DEFUN(SNERT_TERMIOS,[
echo
AC_CHECK_HEADERS([termios.h],[
AC_CHECK_FUNCS(tcgetattr tcsetattr tcgetwinsize tcsetwinsize ctermid)
unset ac_cv_type_struct_winsize
AC_CHECK_TYPES([struct winsize],[],[],[
#include <termios.h>
])
])
AC_CHECK_HEADERS([sys/ioctl.h],[
unset ac_cv_type_struct_winsize
AC_CHECK_TYPES([struct winsize],[],[],[
#include <sys/ioctl.h>
])
Expand Down
2 changes: 2 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6335d0f

Please sign in to comment.