From: Gwenhael Goavec-Merou gwenhael.goavec-merou@trabucayre.com
According to : http://autobuild.buildroot.net/results/3de/3de936d9be79e151e66af15193084d82a...
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-missi...
Signed-off-by: Gwenhael Goavec-Merou gwenhael.goavec-merou@trabucayre.com --- 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"