libbacktrace: declare getpagesize if necessary

Fixes https://gcc.gnu.org/PR95012.
This commit is contained in:
Ian Lance Taylor
2020-05-11 10:54:46 -07:00
parent 7206f5bd06
commit 14465a9574
5 changed files with 23 additions and 1 deletions

View File

@@ -383,7 +383,7 @@ if test "$have_fcntl" = "yes"; then
[Define to 1 if you have the fcntl function])
fi
AC_CHECK_DECLS(strnlen)
AC_CHECK_DECLS([strnlen, getpagesize])
AC_CHECK_FUNCS(lstat readlink)
# Check for getexecname function.