Re: [PATCH] t_attr_corruption: fix xattr.h include problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 20, 2019 at 09:20:05AM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> Apparently newer versions of libattr (which haven't yet been picked up
> by Debian or Ubuntu) don't ship xattr.h anymore, because we're supposed
> to use the libc version in sys/xattr.h.  So do that.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> ---
>  src/t_attr_corruption.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/t_attr_corruption.c b/src/t_attr_corruption.c
> index 1fa5e41f..f26611f9 100644
> --- a/src/t_attr_corruption.c
> +++ b/src/t_attr_corruption.c
> @@ -27,7 +27,7 @@
>  #include <string.h>
>  #include <stdint.h>
>  #include <unistd.h>
> -#include <attr/xattr.h>
> +#include <sys/xattr.h>

Works for me, thanks

Reviewed-by: David Sterba <dsterba@xxxxxxxx>



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux