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

Brian Norris computersforpeace at gmail.com
Sun Jan 24 20:13:13 PST 2016


On Sat, Jan 23, 2016 at 10:44:23PM +0100, Richard Weinberger wrote:
> 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.

Ah, thanks for the clarification.

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

Pushed to mtd-utils.git.

Brian



More information about the linux-mtd mailing list