From 6644005b599308f6a47df16723ba5ecaadc508df Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Fri, 30 Jun 2017 13:56:29 -0500 Subject: [PATCH] libxfs: fix fsmap.h inclusion If we /do/ have HAVE_GETFSMAP defined, we need to include linux/fsmap.h. Found-by: Eryu Guan Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- include/linux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux.h b/include/linux.h index 38969d136..9611a37fd 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 +#else /* * Structure for FS_IOC_GETFSMAP. * -- 2.47.2