ncftp: bump version to 3.2.6
[buildroot-gz.git] / package / libuio / 0002-fix-build-with-musl.patch
blob6e5b168c142c02d39e16af21c4bc85be385871e8
1 From c378ee112857128002754c616acb6841ee32aaf6 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@smile.fr>
3 Date: Sat, 2 Jul 2016 10:52:28 +0200
4 Subject: [PATCH] fix build with musl
6 limits.h header is missing in attr.c, base.c and helper.c to provide
7 PATH_MAX.
9 Fixes:
10 http://autobuild.buildroot.net/results/702/7023104e6018ea46c54073ddbe5119d0f66ae5a3
12 Signed-off-by: Romain Naour <romain.naour@smile.fr>
13 ---
14 attr.c | 1 +
15 base.c | 1 +
16 helper.c | 1 +
17 3 files changed, 3 insertions(+)
19 diff --git a/attr.c b/attr.c
20 index 4245140..7512f4e 100644
21 --- a/attr.c
22 +++ b/attr.c
23 @@ -25,6 +25,7 @@
24 #include <dirent.h>
25 #include <errno.h>
26 #include <fcntl.h>
27 +#include <limits.h>
28 #include <stdio.h>
29 #include <stdlib.h>
30 #include <string.h>
31 diff --git a/base.c b/base.c
32 index 14ebcee..4ce7301 100644
33 --- a/base.c
34 +++ b/base.c
35 @@ -25,6 +25,7 @@
36 #include <dirent.h>
37 #include <errno.h>
38 #include <fcntl.h>
39 +#include <limits.h>
40 #include <stdio.h>
41 #include <stdlib.h>
42 #include <string.h>
43 diff --git a/helper.c b/helper.c
44 index 170f084..1fb0b4c 100644
45 --- a/helper.c
46 +++ b/helper.c
47 @@ -25,6 +25,7 @@
48 #include <dirent.h>
49 #include <errno.h>
50 #include <fcntl.h>
51 +#include <limits.h>
52 #include <regex.h>
53 #include <stdio.h>
54 #include <stdlib.h>
55 --
56 2.5.5