Merge https://github.com/openwrt/packages
[feed/packages.git] / utils / sysstat / patches / 100-musl-compat.patch
1 --- a/sa_common.c
2 +++ b/sa_common.c
3 @@ -28,6 +28,7 @@
4 #include <dirent.h>
5 #include <fcntl.h>
6 #include <libgen.h>
7 +#include <limits.h>
8 #include <sys/types.h>
9 #include <sys/stat.h>
10
11 --- a/common.c
12 +++ b/common.c
13 @@ -30,6 +30,7 @@
14 #include <dirent.h>
15 #include <ctype.h>
16 #include <libgen.h>
17 +#include <limits.h>
18
19 #include "version.h"
20 #include "common.h"
21 --- a/ioconf.c
22 +++ b/ioconf.c
23 @@ -27,6 +27,7 @@
24 #include <errno.h>
25 #include <dirent.h>
26 #include <sys/stat.h>
27 +#include <sys/types.h>
28
29 #include "ioconf.h"
30 #include "common.h"