t_attr_corruption: fix xattr.h include problems
PATCH 1/1 t_attr_corruption: fix xattr.h include problems
From: Darrick J. Wong <[email protected]>
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 <[email protected]>
--- src/t_attr_corruption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/t_attr_corruption.c +1 -1
@@ -27,7 +27,7 @@#include <string.h> #include <stdint.h> #include <unistd.h> -#include <attr/xattr.h> +#include <sys/xattr.h> void die (const char *msg) {
Quoted 16 lines · Darrick J. Wong
From: Darrick J. Wong <[email protected]>
Apparently newer versions of libattr (which haven't yet been picked up by Debian or Ubuntu) don't ship
xattr.hanymore, because we're supposed to use the libc version insys/xattr.h. So do that.Signed-off-by Darrick J. Wong <[email protected]>--- src/t_attr_corruption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/t_attr_corruption.c +0
-0
src/t_attr_corruption.c line 30
Quoted 5 lines
src/t_attr_corruption.c +1
-1@@ -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 <[email protected]>