package/xen: Backport a header include fix for makedev
authorAlistair Francis <alistair.francis@xilinx.com>
Tue, 30 May 2017 17:26:13 +0000 (10:26 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 May 2017 21:29:20 +0000 (23:29 +0200)
commite1c2c432a914e1da9022f370906c06d139e41aee
tree026bb90b947003997226524a40bd0da6f97f1c1e
parent2fcb07fbe3c2a861cd6c988d6d13d11be22a3683
package/xen: Backport a header include fix for makedev

maekdev() is available from sys/types.h but only due to a bug in glibc. This
is being fixed by printing an error when using makedev() from sys/types.h.
To fix the issue we should include sys/sysmacros.h for makedev(). As this
has already been fixed in upstream Xen we can backport the patch.

Fixes:
    http://autobuild.buildroot.net/results/552/552e66d764885341b2fe208a0e4382b5fe05ea9d/

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xen/0007-tools-include-sys-sysmacros.h-on-Linux.patch [new file with mode: 0644]