tools/mtd-utils: include sysmacros.h explicitly
authorAlex Maclean <monkeh@monkeh.net>
Mon, 23 Oct 2017 12:47:33 +0000 (13:47 +0100)
committerMathias Kresin <dev@kresin.me>
Fri, 27 Oct 2017 09:19:38 +0000 (11:19 +0200)
commit855d210f656961cb989c2741748942414dbdefb7
tree12fd7f65b2604ad08dbdba22db5c34d5493363c4
parent4a5de1f4309fe2de6a9af8c4d1b0e7b65372cee9
tools/mtd-utils: 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#1015

Signed-off-by: Alex Maclean <monkeh@monkeh.net>
[refresh patches]
Signed-off-by: Mathias Kresin <dev@kresin.me>
tools/mtd-utils/patches/120-include_sysmacros.patch [new file with mode: 0644]
tools/mtd-utils/patches/320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch