AC_HEADER_DIRENT # dirent.h
AC_HEADER_STAT # sys/stat.h
AC_HEADER_STDBOOL # stdbool.h
-AC_HEADER_STDC # stdlib.h string.h (implied: errno.h limits.h stdio.h)
+AC_HEADER_STDC # stdlib.h string.h (implied: errno.h stdio.h)
# Check for header files not covered by the predefined macros above.
AC_HEADER_REQUIRE(acl/libacl.h)
AC_HEADER_REQUIRE(fcntl.h)
AC_HEADER_REQUIRE(getopt.h)
AC_HEADER_REQUIRE(libgen.h)
+AC_HEADER_REQUIRE(limits.h)
AC_HEADER_REQUIRE(linux/xattr.h)
AC_HEADER_REQUIRE(sys/acl.h)
AC_HEADER_REQUIRE(unistd.h)
#include <errno.h> /* EINVAL, ELOOP, ENOTDIR, etc. */
#include <fcntl.h> /* openat() */
#include <libgen.h> /* basename(), dirname() */
+#include <limits.h> /* PATH_MAX */
#include <stdbool.h> /* the "bool" type */
#include <stdio.h> /* perror(), asprintf() */
#include <stdlib.h> /* free() */