]> granicus.if.org Git - sysstat/commitdiff
add missing includes for musl
authorLeo <thinkabit.ukim@gmail.com>
Sun, 24 Nov 2019 18:11:19 +0000 (19:11 +0100)
committerLeo <thinkabit.ukim@gmail.com>
Sun, 24 Nov 2019 18:12:13 +0000 (19:12 +0100)
common.c
ioconf.c
sa_common.c

index b1be2f32ac61c60089acde793b119c3cfc70e6ec..ddfe75d8e79e4adc945859b88de096e3b13e61da 100644 (file)
--- a/common.c
+++ b/common.c
@@ -31,6 +31,7 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <ctype.h>
+#include <limits.h>
 #include <libgen.h>
 
 #include "version.h"
index 58b12065799b3b83803cda7e8358af670686ebf6..5c73f58e545d3e70402f33140ae962917dc7d180 100644 (file)
--- a/ioconf.c
+++ b/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"
index 7a0d318da42b755b46cc39c5774c71bb5cceaff7..cf52aefe384884e27415e0eb0c4ba825f3c9b071 100644 (file)
@@ -28,6 +28,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/stat.h>