From: Gwenhael Goavec-Merou <[email protected]> According to : http://autobuild.buildroot.net/results/3de/3de936d9be79e151e66af15193084d82a0f2c04a/build-end.log
linux/ioctl.h header must be included in linux_spi.c to obtain missing _IOC_SIZEBITS. Patch based on : http://git.buildroot.net/buildroot/commit/package/c-periphery/0001-Add-missing-header-for-musl-compatibility.patch?id=60974ee92dd8ff9e43cc6b785ea5131a8851e74c Signed-off-by: Gwenhael Goavec-Merou <[email protected]> --- linux_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux_spi.c b/linux_spi.c index 26725e1..8d72420 100644 --- a/linux_spi.c +++ b/linux_spi.c @@ -28,6 +28,7 @@ #include <unistd.h> #include <linux/types.h> #include <linux/spi/spidev.h> +#include <linux/ioctl.h> #include <sys/ioctl.h> #include "flash.h" #include "chipdrivers.h" -- 2.4.9 _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
