flashrom-fcntl-20170120-702322e.diff 420 B

12345678910111213141516171819
  1. diff --git a/linux_spi.c b/linux_spi.c
  2. index 0199cf5..d56e8b0 100644
  3. --- a/linux_spi.c
  4. +++ b/linux_spi.c
  5. @@ -20,11 +20,12 @@
  6. #include <stdio.h>
  7. #include <string.h>
  8. #include <stdlib.h>
  9. -#include <sys/fcntl.h>
  10. +#include <fcntl.h>
  11. #include <errno.h>
  12. #include <ctype.h>
  13. #include <unistd.h>
  14. #include <linux/spi/spidev.h>
  15. +#include <linux/ioctl.h>
  16. #include <sys/ioctl.h>
  17. #include <sys/stat.h>
  18. #include <sys/types.h>