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>
Wed, 25 Oct 2017 16:50:27 +0000 (18:50 +0200)
commit96dbf59e5ae9b2384d860008f92cb583412c1688
tree14e7e8fdb8d1faf8b07e6664c4d66f8c8e5c9789
parentd2fd6412a63655dd748ba4651e59898c6a8e7d03
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]