tools/squashfs: include sysmacros.h explicitly
authorAlex Maclean <monkeh@monkeh.net>
Mon, 23 Oct 2017 12:47:55 +0000 (13:47 +0100)
committerMathias Kresin <dev@kresin.me>
Fri, 27 Oct 2017 09:19:38 +0000 (11:19 +0200)
commit09bfca653c0ce9db3588c4046c53b28ae67eddbe
treea7903a2ce1626f2cfb94c37e8b52dbadfc786800
parent855d210f656961cb989c2741748942414dbdefb7
tools/squashfs: 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#1018

Signed-off-by: Alex Maclean <monkeh@monkeh.net>
tools/squashfs/patches/130-include_sysmacros.patch [new file with mode: 0644]