[mtd-utils PATCH] mkfs.ubifs: <sys/xattr.h>, not <attr/xattr.h>

Richard Weinberger richard at nod.at
Sat Jan 23 13:44:23 PST 2016


Am 23.01.2016 um 22:31 schrieb Brian Norris:
> 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>

The build fails because you don't have libattr-devel (or however your distro names that package).
Switching to sys/xattr.h from glibc-devel seems fine to me as mkfs.ubifs.c is using only basic xattr stuff.

Reviewed-by: Richard Weinberger <richard at nod.at>

Thanks,
//richard



More information about the linux-mtd mailing list