diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-01-13 18:59:08 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-01-13 18:59:28 +0000 |
commit | 5f2f422fbe64f0cd09d6c441e587bae2ab6edda2 (patch) | |
tree | 0a8d53d8bdf03dc62baa17407beed0380d08e540 /main/sysstat/musl-fix-includes.patch | |
parent | 4b1862541fa07f6e0ea58d19c454609e7adaad20 (diff) | |
download | aports-5f2f422fbe64f0cd09d6c441e587bae2ab6edda2.tar.bz2 aports-5f2f422fbe64f0cd09d6c441e587bae2ab6edda2.tar.xz |
main/sysstat: fix musl build
Diffstat (limited to 'main/sysstat/musl-fix-includes.patch')
-rw-r--r-- | main/sysstat/musl-fix-includes.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/sysstat/musl-fix-includes.patch b/main/sysstat/musl-fix-includes.patch new file mode 100644 index 0000000000..f2bfceb7a1 --- /dev/null +++ b/main/sysstat/musl-fix-includes.patch @@ -0,0 +1,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> |