From: Richard Kunze Date: Sat, 25 Aug 2018 22:07:51 +0200 Subject: [Buildroot] [PATCH] package/squashfs: fix build on hosts with glibc >= 2.28 Message-ID: <20180825200751.28097-1-richard.kunze@web.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Since glibc 2.28, sys/sysmacros.h is no longer included from sys/types.h This patch fixes the resulting build error by explicitly including sys/sysmacros.h Signed-off-by: Richard Kunze --- package/squashfs/0001-include-sysmacros.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/squashfs/0001-include-sysmacros.patch diff --git a/package/squashfs/0001-include-sysmacros.patch b/package/squashfs/0001-include-sysmacros.patch new file mode 100644 index 0000000000..56d9a742e7 --- /dev/null +++ b/package/squashfs/0001-include-sysmacros.patch @@ -0,0 +1,19 @@ +--- a/squashfs-tools/mksquashfs.c 2018-02-15 14:11:24.661930637 +0100 ++++ b/squashfs-tools/mksquashfs.c 2018-02-15 14:12:28.218412025 +0100 +@@ -44,6 +44,7 @@ + #include + #include ++#include + #include + #include + #include + #include +--- a/squashfs-tools/unsquashfs.c 2018-02-15 14:25:34.608263881 +0100 ++++ b/squashfs-tools/unsquashfs.c 2018-02-15 14:26:01.376410327 +0100 +@@ -36,6 +36,7 @@ + #include ++#include + #include + #include + #include + #include -- 2.18.0