packages/utils/flashrom/patches/0002-fix-musl-compatibility.patch
Álvaro Fernández Rojas fc959cf5b8 flashrom: fix build with musl
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-06-17 21:34:08 +02:00

12 lines
332 B
Diff

diff -uprN a/linux_spi.c b/linux_spi.c
--- a/linux_spi.c 2015-06-17 20:50:36.492963100 +0200
+++ b/linux_spi.c 2015-06-17 20:50:00.444860800 +0200
@@ -22,7 +22,7 @@
#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>