@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2017-2022 Bartosz Golaszewski <brgl@bgdev.pl>
-AC_PREREQ([2.69])
+AC_PREREQ([2.71])
AC_INIT([libgpiod], [2.2])
AC_SUBST(EXTRA_VERSION, [-rc2])
@@ -74,7 +74,8 @@ AC_DEFUN([HEADER_NOT_FOUND_CXX],
[ERR_NOT_FOUND([$1 header], [C++ bindings])])
# This is always checked (library needs this)
-AC_HEADER_STDC
+AC_CHECK_INCLUDES_DEFAULT
+
AC_FUNC_MALLOC
AC_HEADER_STDBOOL
AC_CHECK_FUNC([ioctl], [], [FUNC_NOT_FOUND_LIB([ioctl])])