From 4425fa84dad57b6b0046b97e224d50b33f1f536b Mon Sep 17 00:00:00 2001 From: Alex Maclean Date: Mon, 23 Oct 2017 13:48:19 +0100 Subject: tools/squashfs4: include sysmacros.h explicitly glibc is moving to remove the include of sys/sysmacros.h from sys/types.h, and some distros have done this early. Other libcs may already lack this include. Include sysmacros.h explicitly. Fixes: FS#1017 Signed-off-by: Alex Maclean [refresh patches] Signed-off-by: Mathias Kresin --- tools/squashfs4/patches/130-include_sysmacros.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tools/squashfs4/patches/130-include_sysmacros.patch (limited to 'tools/squashfs4/patches/130-include_sysmacros.patch') diff --git a/tools/squashfs4/patches/130-include_sysmacros.patch b/tools/squashfs4/patches/130-include_sysmacros.patch new file mode 100644 index 0000000..e884513 --- /dev/null +++ b/tools/squashfs4/patches/130-include_sysmacros.patch @@ -0,0 +1,20 @@ +--- a/squashfs-tools/mksquashfs.c ++++ b/squashfs-tools/mksquashfs.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- a/squashfs-tools/unsquashfs.c ++++ b/squashfs-tools/unsquashfs.c +@@ -30,6 +30,7 @@ + #include "xattr.h" + + #include ++#include + + struct cache *fragment_cache, *data_cache; + struct queue *to_reader, *to_deflate, *to_writer, *from_writer; -- cgit v1.1