summaryrefslogtreecommitdiff
path: root/ubifs-utils
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2016-01-23 13:31:50 -0800
committerBrian Norris <computersforpeace@gmail.com>2016-01-24 20:11:05 -0800
commitf4ba6b8ee73b3b6f726a02ad6ffe826cf8f31261 (patch)
treef6049fef5ebacd6943e8ab04a573e029137b5aa7 /ubifs-utils
parent0637b185cc2aadc52d80005eee5406e1d197fbe4 (diff)
mkfs.ubifs: <sys/xattr.h>, not <attr/xattr.h>
To be consistent with mkfs.jffs2, and to get this to build on my machine, it looks like we should use <sys/xattr.h>, not <attr/xattr.h>. Fixes this error, seen on an Ubuntu 14.04 build system: ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:30:24: fatal error: attr/xattr.h: No such file or directory #include <attr/xattr.h> ^ Signed-off-by: Brian Norris <computersforpeace@gmail.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Reviewed-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'ubifs-utils')
-rw-r--r--ubifs-utils/mkfs.ubifs/mkfs.ubifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
index 27f8d0a..a60052d 100644
--- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
+++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
@@ -27,7 +27,7 @@
#include "common.h"
#include <sys/types.h>
#ifndef WITHOUT_XATTR
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#endif
/* Size (prime number) of hash table for link counting */