aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/mtd-utils/patches/100-fix_includes.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-07-06 10:32:07 +0200
committerJohn Crispin <john@phrozen.org>2016-07-11 14:19:47 +0200
commit9352603fff591a2412fb825aa2f5ef386990c99a (patch)
tree2109db9939ab0ba838a0cb86afa61a51a36932ff /package/utils/mtd-utils/patches/100-fix_includes.patch
parent17f4d3967eec59db147d2f5b1c45dc9cf30a883e (diff)
downloadupstream-9352603fff591a2412fb825aa2f5ef386990c99a.tar.gz
upstream-9352603fff591a2412fb825aa2f5ef386990c99a.tar.bz2
upstream-9352603fff591a2412fb825aa2f5ef386990c99a.zip
mtd-utils: merge ubi/nand-utils into one package
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/utils/mtd-utils/patches/100-fix_includes.patch')
-rw-r--r--package/utils/mtd-utils/patches/100-fix_includes.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/utils/mtd-utils/patches/100-fix_includes.patch b/package/utils/mtd-utils/patches/100-fix_includes.patch
new file mode 100644
index 0000000000..7dad28b472
--- /dev/null
+++ b/package/utils/mtd-utils/patches/100-fix_includes.patch
@@ -0,0 +1,10 @@
+--- a/lib/libfec.c
++++ b/lib/libfec.c
+@@ -45,6 +45,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+
+ /*
+ * stuff used for testing purposes only