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/squashfs/patches/125-glibc-2.23-sysmacros.patch 2016-04-24 16:16:39.524863687 -0400 @@ -0,0 +1,20 @@ +--- a/squashfs-tools/mksquashfs.c 2016-04-24 16:10:19.230996009 -0400 ++++ b/squashfs-tools/mksquashfs.c 2016-04-24 16:10:54.671356457 -0400 +@@ -30,6 +30,7 @@ + #include <unistd.h> + #include <stdio.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + #include <sys/stat.h> + #include <fcntl.h> + #include <errno.h> +--- a/squashfs-tools/unsquashfs.c 2016-04-24 16:14:24.310155265 -0400 ++++ b/squashfs-tools/unsquashfs.c 2016-04-24 16:14:46.560381562 -0400 +@@ -25,6 +25,7 @@ + #define FALSE 0 + #include <stdio.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + #include <sys/stat.h> + #include <fcntl.h> + #include <errno.h> _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel