From: Felix Fietkau Date: Mon, 9 Jun 2014 13:47:52 +0000 (+0000) Subject: ubi-utils: fix musl compile errors X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=81659624b107ee048329d6ba0d6f0de2c04bdbcd;p=openwrt%2Fsvn-archive%2Farchive.git ubi-utils: fix musl compile errors Signed-off-by: Felix Fietkau SVN-Revision: 41060 --- diff --git a/package/utils/ubi-utils/patches/100-fix_includes.patch b/package/utils/ubi-utils/patches/100-fix_includes.patch new file mode 100644 index 0000000000..44421d029e --- /dev/null +++ b/package/utils/ubi-utils/patches/100-fix_includes.patch @@ -0,0 +1,30 @@ +--- a/lib/libfec.c ++++ b/lib/libfec.c +@@ -45,6 +45,7 @@ + #include + #include + #include ++#include + + /* + * stuff used for testing purposes only +--- a/serve_image.c ++++ b/serve_image.c +@@ -3,7 +3,6 @@ + + #include + #include +-#include + #include + #include + #include +--- a/recv_image.c ++++ b/recv_image.c +@@ -4,7 +4,6 @@ + #define _BSD_SOURCE /* struct ip_mreq */ + + #include +-#include + #include + #include + #include