diff options
| author | Alex Maclean <monkeh@monkeh.net> | 2017-10-23 13:48:19 +0100 |
|---|---|---|
| committer | Mathias Kresin <dev@kresin.me> | 2017-10-25 18:50:27 +0200 |
| commit | 8a48a53dcb503137a8eac64cf3fc522024484818 (patch) | |
| tree | f85f62c0ec60b01e93fe2b4ad3852bbd53e35ba2 /tools/squashfs4/patches/180-openbsd_compat.patch | |
| parent | 8406e50df540b13a43c080a304ec675bc4fc2caf (diff) | |
| download | mtk-20170518-8a48a53dcb503137a8eac64cf3fc522024484818.zip mtk-20170518-8a48a53dcb503137a8eac64cf3fc522024484818.tar.gz mtk-20170518-8a48a53dcb503137a8eac64cf3fc522024484818.tar.bz2 | |
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 b9c1b59..4f7afd8 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 @@ |
