diff options
author | seokj <manettus@icloud.com> | 2017-01-20 16:27:15 +0000 |
---|---|---|
committer | seokj <manettus@icloud.com> | 2017-01-20 16:27:15 +0000 |
commit | d5ffbf520e11ddd510ba5121493e80579543a37a (patch) | |
tree | baffeffd4b9476b6217f57f57d6a6b1c74411f4a /projects/flashrom-cros | |
parent | 3c17e8d80e5bacacddb8be37b598cd91cf543539 (diff) | |
download | librebootfr-d5ffbf520e11ddd510ba5121493e80579543a37a.tar.gz librebootfr-d5ffbf520e11ddd510ba5121493e80579543a37a.zip |
standard location of fcntl is not under sys
Diffstat (limited to 'projects/flashrom-cros')
-rw-r--r-- | projects/flashrom-cros/patches/flashrom-fcntl-20170120-702322e.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/projects/flashrom-cros/patches/flashrom-fcntl-20170120-702322e.diff b/projects/flashrom-cros/patches/flashrom-fcntl-20170120-702322e.diff new file mode 100644 index 00000000..08b1751b --- /dev/null +++ b/projects/flashrom-cros/patches/flashrom-fcntl-20170120-702322e.diff @@ -0,0 +1,18 @@ +diff --git a/linux_spi.c b/linux_spi.c +index 0199cf5..d56e8b0 100644 +--- a/linux_spi.c ++++ b/linux_spi.c +@@ -20,11 +20,12 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> +-#include <sys/fcntl.h> ++#include <fcntl.h> + #include <errno.h> + #include <ctype.h> + #include <unistd.h> + #include <linux/spi/spidev.h> ++#include <linux/ioctl.h> + #include <sys/ioctl.h> + #include <sys/stat.h> + #include <sys/types.h> |