package/flashrom: fix build failures with musl
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 28 Oct 2015 21:55:49 +0000 (22:55 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 28 Oct 2015 22:37:04 +0000 (23:37 +0100)
commitfc2c039c90336160bb58ddd2011ef89c4deb1121
treefe5a33fb04aade3d2dd9430afcd05ac5af057589
parent78521ca8bd2f8b7722521e2e9055dd59b8d9fc54
package/flashrom: fix build failures with musl

flashroms makes a few assumptions on the headers to be included.
It forgets that not everything is using glibc, so it is missing
crucial includes.

Fixes:
    http://autobuild.buildroot.org/results/2a3/2a3744007c630c267575a638ebcd83a4b97644f5/
    http://autobuild.buildroot.org/results/3de/3de936d9be79e151e66af15193084d82a0f2c04a/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/flashrom/0001-spi.patch [new file with mode: 0644]
package/flashrom/0002-sys-io.h.patch [new file with mode: 0644]