aboutsummaryrefslogtreecommitdiffstats
path: root/main/flashrom/musl-ffs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/flashrom/musl-ffs.patch')
-rw-r--r--main/flashrom/musl-ffs.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/flashrom/musl-ffs.patch b/main/flashrom/musl-ffs.patch
new file mode 100644
index 0000000000..5af047d5a8
--- /dev/null
+++ b/main/flashrom/musl-ffs.patch
@@ -0,0 +1,10 @@
+--- flashrom-0.9.9/spi.c.orig 2017-07-16 14:56:35.786503889 +0300
++++ flashrom-0.9.9/spi.c 2017-07-16 14:58:31.698126720 +0300
+@@ -22,6 +22,7 @@
+ * Contains the generic SPI framework
+ */
+
++#define _BSD_SOURCE
+ #include <strings.h>
+ #include <string.h>
+ #include "flash.h"