Under musl a compilation unit cannot include both linux/kernel.h and sys/sysinfo.h at the same time since that leads to a redefinition of `struct sysinfo`. Change the autoconf template to include linux/kernel.h while testing for sys/sysinfo.h to test for that conflict. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|
|
||
1 |
|
1 |
|
2 |
|
|
|
|
2 |
|
|
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
|
|
||
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
12 |
|
|
|
|
12 |
|
|
13 |
|
13 |
|
14 |
|
14 |
|
15 |
|
15 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|