From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: guaneryu@gmail.com
Cc: "David Sterba" <dsterba@suse.cz>,
"Holger Hoffstätte" <holger@applied-asynchrony.com>,
linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: [PATCH] t_attr_corruption: fix xattr.h include problems
Date: Wed, 20 Feb 2019 09:20:05 -0800 [thread overview]
Message-ID: <20190220172005.GJ6477@magnolia> (raw)
From: Darrick J. Wong <darrick.wong@oracle.com>
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@oracle.com>
---
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>
void die(const char *msg)
{
next reply other threads:[~2019-02-20 17:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-20 17:20 Darrick J. Wong [this message]
2019-02-21 18:09 ` [PATCH] t_attr_corruption: fix xattr.h include problems David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190220172005.GJ6477@magnolia \
--to=darrick.wong@oracle.com \
--cc=dsterba@suse.cz \
--cc=fstests@vger.kernel.org \
--cc=guaneryu@gmail.com \
--cc=holger@applied-asynchrony.com \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox