Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/squashfs-tools/squashfs-tools-4.3-sysmacros.patch
blob: 14246b4a0b1ce8c1350103f0a599e3474349cec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -rauN squashfs4.3/squashfs-tools/mksquashfs.c squashfs4.3-sysmacros-patch/squashfs-tools/mksquashfs.c
--- squashfs4.3/squashfs-tools/mksquashfs.c	2014-05-13 00:18:20.000000000 +0200
+++ squashfs4.3-sysmacros-patch/squashfs-tools/mksquashfs.c	2018-10-26 21:25:02.550480701 +0200
@@ -59,6 +59,7 @@
 #else
 #include <endian.h>
 #include <sys/sysinfo.h>
+#include <sys/sysmacros.h>
 #endif
 
 #include "squashfs_fs.h"
diff -rauN squashfs4.3/squashfs-tools/unsquashfs.c squashfs4.3-sysmacros-patch/squashfs-tools/unsquashfs.c
--- squashfs4.3/squashfs-tools/unsquashfs.c	2014-05-13 00:18:35.000000000 +0200
+++ squashfs4.3-sysmacros-patch/squashfs-tools/unsquashfs.c	2018-10-26 21:25:27.830242229 +0200
@@ -37,6 +37,9 @@
 #include <sys/resource.h>
 #include <limits.h>
 #include <ctype.h>
+#ifdef linux
+#include <sys/sysmacros.h>
+#endif
 
 struct cache *fragment_cache, *data_cache;
 struct queue *to_reader, *to_inflate, *to_writer, *from_writer;