If we /do/ have HAVE_GETFSMAP defined, we need to include linux/fsmap.h. Found-by: Eryu Guan <eguan@xxxxxxxxxx> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --- include/linux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux.h b/include/linux.h index 92f291d..6ce344c 100644 --- a/include/linux.h +++ b/include/linux.h @@ -222,7 +222,9 @@ struct fsxattr { #define FS_XFLAG_COWEXTSIZE 0x00010000 /* CoW extent size allocator hint */ #endif -#ifndef HAVE_GETFSMAP +#ifdef HAVE_GETFSMAP +# include <linux/fsmap.h> +#else /* * Structure for FS_IOC_GETFSMAP. * -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html