diff mbox

[1/3] fsstress: use sys/xattr.h instead of attr/xattr.h

Message ID 20180627084913.4730-2-lufq.fnst@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lu Fengqi June 27, 2018, 8:49 a.m. UTC
Since attr v2.4.48 has removed <attr/xattr.h>, use <sys/xattr.h>
provided by glibc.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
---
 ltp/fsstress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/ltp/fsstress.c b/ltp/fsstress.c
index 1bffa115bf2d..c1f28e7c4567 100644
--- a/ltp/fsstress.c
+++ b/ltp/fsstress.c
@@ -11,7 +11,7 @@ 
 #include "global.h"
 
 #ifdef HAVE_ATTR_XATTR_H
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 #endif
 #ifdef HAVE_ATTR_ATTRIBUTES_H
 #include <attr/attributes.h>