With the update to glibc 2.23, sys/types.h doesn't inherit sys/sysmacros.h anymore. We need to include it manually.
Signed-off-by: Weedy <weedy2...@gmail.com> --- /dev/null 2016-04-18 05:53:30.273258717 -0400 +++ tools/e2fsprogs/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 14:58:32.704376584 -0400 @@ -0,0 +1,20 @@ +--- a/lib/blkid/devname.c.bak 2016-04-24 14:55:25.665819444 -0400 ++++ b/lib/blkid/devname.c 2016-04-24 14:55:45.589354153 -0400 +@@ -25,6 +25,7 @@ + #include <ctype.h> + #if HAVE_SYS_TYPES_H + #include <sys/types.h> ++#include <sys/sysmacros.h> + #endif + #include <dirent.h> + #if HAVE_SYS_STAT_H +--- a/lib/ext2fs/ext2fs.h.bak 2016-04-24 14:56:14.822982962 -0400 ++++ b/lib/ext2fs/ext2fs.h 2016-04-24 14:56:31.613152667 -0400 +@@ -49,6 +49,7 @@ + + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> ++#include <sys/sysmacros.h> + #endif + + #include <stdio.h> _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel