Author: nbd
Date: 2014-06-09 15:47:52 +0200 (Mon, 09 Jun 2014)
New Revision: 41060

Added:
   trunk/package/utils/ubi-utils/patches/100-fix_includes.patch
Log:
ubi-utils: fix musl compile errors

Signed-off-by: Felix Fietkau <[email protected]>

Added: trunk/package/utils/ubi-utils/patches/100-fix_includes.patch
===================================================================
--- trunk/package/utils/ubi-utils/patches/100-fix_includes.patch                
                (rev 0)
+++ trunk/package/utils/ubi-utils/patches/100-fix_includes.patch        
2014-06-09 13:47:52 UTC (rev 41060)
@@ -0,0 +1,30 @@
+--- 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
+--- a/serve_image.c
++++ b/serve_image.c
+@@ -3,7 +3,6 @@
+ 
+ #include <time.h>
+ #include <errno.h>
+-#include <error.h>
+ #include <netdb.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+--- a/recv_image.c
++++ b/recv_image.c
+@@ -4,7 +4,6 @@
+ #define _BSD_SOURCE   /* struct ip_mreq */
+ 
+ #include <errno.h>
+-#include <error.h>
+ #include <stdio.h>
+ #include <netdb.h>
+ #include <stdlib.h>
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to