summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch')
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch b/meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch
deleted file mode 100644
index f2e88f416a..0000000000
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools/squashfs-tools-4.3-sysmacros.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/squashfs-tools/files/squashfs-tools-4.3-sysmacros.patch
2
3Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
4
5Upstream-Status: Pending
6
7
8sys/types.h might not always include sys/sysmacros.h for major/minor/makedev
9
10--- a/squashfs-tools/mksquashfs.c
11+++ b/squashfs-tools/mksquashfs.c
12@@ -59,6 +59,7 @@
13 #else
14 #include <endian.h>
15 #include <sys/sysinfo.h>
16+#include <sys/sysmacros.h>
17 #endif
18
19 #include "squashfs_fs.h"
20--- a/squashfs-tools/unsquashfs.c
21+++ b/squashfs-tools/unsquashfs.c
22@@ -40,6 +40,10 @@
23 #include <limits.h>
24 #include <ctype.h>
25
26+#ifdef linux
27+#include <sys/sysmacros.h>
28+#endif
29+
30 struct cache *fragment_cache, *data_cache;
31 struct queue *to_reader, *to_inflate, *to_writer, *from_writer;
32 pthread_t *thread, *inflator_thread;