aboutsummaryrefslogtreecommitdiff
path: root/i18n/fr_FR/projects/flashrom-cros/patches/flashrom-fcntl-20170120-702322e.diff
blob: 08b1751b989a50faf8da91775b296d4533a913ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>