[OpenWrt-Devel] [PATCH 05/05] [tools] squashfs4 glibc >= 2.23 compat
Weedy
weedy2887 at gmail.com
Mon Apr 25 13:01:46 EDT 2016
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 <weedy2887 at gmail.com>
--- /dev/null 2016-04-18 05:53:30.273258717 -0400
+++ tools/squashfs4/patches/125-glibc-2.23-sysmacros.patch 2016-04-24
16:22:30.271759670 -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
+@@ -33,6 +33,7 @@
+ #include <stddef.h>
+ #include <sys/time.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
+@@ -30,6 +30,7 @@
+ #include "xattr.h"
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+
+ struct cache *fragment_cache, *data_cache;
+ struct queue *to_reader, *to_deflate, *to_writer, *from_writer;
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list