44421d029ef7c17d79dc5980c27ad3766f14c308
[openwrt/openwrt.git] / package / utils / ubi-utils / patches / 100-fix_includes.patch
1 --- a/lib/libfec.c
2 +++ b/lib/libfec.c
3 @@ -45,6 +45,7 @@
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <string.h>
7 +#include <sys/types.h>
8
9 /*
10 * stuff used for testing purposes only
11 --- a/serve_image.c
12 +++ b/serve_image.c
13 @@ -3,7 +3,6 @@
14
15 #include <time.h>
16 #include <errno.h>
17 -#include <error.h>
18 #include <netdb.h>
19 #include <stdio.h>
20 #include <stdlib.h>
21 --- a/recv_image.c
22 +++ b/recv_image.c
23 @@ -4,7 +4,6 @@
24 #define _BSD_SOURCE /* struct ip_mreq */
25
26 #include <errno.h>
27 -#include <error.h>
28 #include <stdio.h>
29 #include <netdb.h>
30 #include <stdlib.h>