This reverts commit
b353e7b1b65450d04bcbc72e42efc13b04d98a00.
AC_CHECK_INCLUDES_DEFAULT is only available in autoconf v2.70 while we
want to keep supporting v2.69.
Reported-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
[ERR_NOT_FOUND([$1 header], [C++ bindings])])
# This is always checked (library needs this)
-AC_CHECK_INCLUDES_DEFAULT
-
+AC_HEADER_STDC
AC_FUNC_MALLOC
AC_HEADER_STDBOOL
AC_CHECK_FUNC([ioctl], [], [FUNC_NOT_FOUND_LIB([ioctl])])