]> www.infradead.org Git - mtd-utils.git/commit
fix build errors w/newer kernel headers & glibc
authorMike Frysinger <vapier@gentoo.org>
Wed, 8 May 2013 16:26:13 +0000 (12:26 -0400)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 1 Jul 2013 05:49:33 +0000 (08:49 +0300)
commit65405e7eb0b83f76ac3e1ace9db6549154568d99
treeab891290f09e3f488ae8c039c9f99e1e9f5ce790
parentf132219548fc452a9fcd6f80af89abce4294f0ea
fix build errors w/newer kernel headers & glibc

Building with linux-headers-3.9 and glibc-2.17 fails like so:
In file included from summary.h:15:0,
                 from jffs2dump.c:37:
/usr/include/linux/uio.h:16:8: error: redefinition of 'struct iovec'
 struct iovec
        ^
In file included from /usr/include/bits/fcntl-linux.h:38:0,
                 from /usr/include/bits/fcntl.h:61,
                 from /usr/include/fcntl.h:35,
                 from jffs2dump.c:25:
/usr/include/bits/uio.h:43:8: note: originally defined here
 struct iovec
        ^

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
summary.h