From: Darrick J. Wong <djwong@xxxxxxxxxx> If the system headers (aka the ones in /usr/include) do not define struct statx at all, we need to use our internal override. The m4 code doesn't handle this admittedly corner case, but let's fix it for anyone trying to build new xfsprogs on a decade-old distribution. Fixes: 409477af604f46 ("xfs_io: add support for atomic write statx fields") Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> --- m4/package_libcdev.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/package_libcdev.m4 b/m4/package_libcdev.m4 index 6db1177350b643..4ef7e8f67a3ba6 100644 --- a/m4/package_libcdev.m4 +++ b/m4/package_libcdev.m4 @@ -112,7 +112,7 @@ AC_DEFUN([AC_NEED_INTERNAL_STATX], need_internal_statx=yes, [#include <linux/stat.h>] ) - ],, + ],need_internal_statx=yes, [#include <linux/stat.h>] ) AC_SUBST(need_internal_statx)