aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfs4/patches/180-openbsd_compat.patch
diff options
context:
space:
mode:
authorAlex Maclean <monkeh@monkeh.net>2017-10-23 13:48:19 +0100
committerMathias Kresin <dev@kresin.me>2017-10-27 11:19:38 +0200
commit4425fa84dad57b6b0046b97e224d50b33f1f536b (patch)
treea35eb5584ca74a955fb4bd8bb9436fa065702591 /tools/squashfs4/patches/180-openbsd_compat.patch
parent09bfca653c0ce9db3588c4046c53b28ae67eddbe (diff)
downloadupstream-4425fa84dad57b6b0046b97e224d50b33f1f536b.tar.gz
upstream-4425fa84dad57b6b0046b97e224d50b33f1f536b.tar.bz2
upstream-4425fa84dad57b6b0046b97e224d50b33f1f536b.zip
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 <monkeh@monkeh.net> [refresh patches] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'tools/squashfs4/patches/180-openbsd_compat.patch')
-rw-r--r--tools/squashfs4/patches/180-openbsd_compat.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/squashfs4/patches/180-openbsd_compat.patch b/tools/squashfs4/patches/180-openbsd_compat.patch
index b9c1b5925d..4f7afd89cc 100644
--- a/tools/squashfs4/patches/180-openbsd_compat.patch
+++ b/tools/squashfs4/patches/180-openbsd_compat.patch
@@ -8,8 +8,8 @@
+#include <sys/param.h>
+#endif
#include <sys/types.h>
+ #include <sys/sysmacros.h>
#include <sys/stat.h>
- #include <fcntl.h>
--- a/squashfs-tools/unsquashfs.h
+++ b/squashfs-tools/unsquashfs.h
@@ -25,6 +25,9 @@