squashfs-tools: fix build with glibc >= 2.28

This commit is contained in:
maxice8 2018-09-22 07:15:42 -03:00
parent cffa44fff1
commit 321ce49eec
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -0,0 +1,20 @@
--- squashfs-tools/mksquashfs.c 2018-02-15 14:11:24.661930637 +0100
+++ squashfs-tools/mksquashfs.c 2018-02-15 14:12:28.218412025 +0100
@@ -44,6 +44,7 @@
#include <setjmp.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/mman.h>
#include <pthread.h>
#include <regex.h>
#include <sys/wait.h>
--- squashfs-tools/unsquashfs.c 2018-02-15 14:25:34.608263881 +0100
+++ squashfs-tools/unsquashfs.c 2018-02-15 14:26:01.376410327 +0100
@@ -36,6 +36,7 @@
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <limits.h>
#include <ctype.h>