aboutsummaryrefslogtreecommitdiffstats
path: root/main/sysstat/musl-fix-includes.patch
blob: f2bfceb7a16deb64c013d420af26c1464418daae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- sysstat-10.2.0.old/common.c
+++ sysstat-10.2.0/common.c
@@ -29,6 +29,7 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <ctype.h>
+#include <limits.h>
 #include <libgen.h>
 
 #include "version.h"
--- sysstat-10.2.0.old/ioconf.c
+++ sysstat-10.2.0/ioconf.c
@@ -26,6 +26,7 @@
 #include <string.h>
 #include <errno.h>
 #include <dirent.h>
+#include <sys/types.h>
 #include <sys/stat.h>
 
 #include "ioconf.h"
--- sysstat-10.2.0.old/sa_common.c
+++ sysstat-10.2.0/sa_common.c
@@ -27,6 +27,7 @@
 #include <unistd.h>	/* For STDOUT_FILENO, among others */
 #include <dirent.h>
 #include <fcntl.h>
+#include <limits.h>
 #include <libgen.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>