From: Felix Fietkau Date: Mon, 9 Jun 2014 13:47:52 +0000 (+0000) Subject: ubi-utils: fix musl compile errors X-Git-Tag: reboot~6995 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d73f553b0ba3fd7c86df907e3fc9fb2da50335e6;p=openwrt%2Fopenwrt.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