diff options
author | Alex Maclean <monkeh@monkeh.net> | 2017-10-23 13:48:19 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-10-27 11:19:38 +0200 |
commit | 4425fa84dad57b6b0046b97e224d50b33f1f536b (patch) | |
tree | a35eb5584ca74a955fb4bd8bb9436fa065702591 /tools/squashfs4/patches/180-openbsd_compat.patch | |
parent | 09bfca653c0ce9db3588c4046c53b28ae67eddbe (diff) | |
download | upstream-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.patch | 2 |
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 @@ |