From: Jo-Philipp Wich Date: Thu, 18 Jun 2015 18:42:00 +0000 (+0200) Subject: sysstat: fix musl compatibility X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F1429%2Fhead;p=feed%2Fpackages.git sysstat: fix musl compatibility Add missing `limits.h` and `sys/types.h` includes to the appropriate source files. Signed-off-by: Jo-Philipp Wich --- diff --git a/utils/sysstat/Makefile b/utils/sysstat/Makefile index 0c463815d7..3e9457b258 100644 --- a/utils/sysstat/Makefile +++ b/utils/sysstat/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sysstat PKG_VERSION:=11.0.4 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Marko Ratkaj diff --git a/utils/sysstat/patches/100-musl-compat.patch b/utils/sysstat/patches/100-musl-compat.patch new file mode 100644 index 0000000000..06c7813275 --- /dev/null +++ b/utils/sysstat/patches/100-musl-compat.patch @@ -0,0 +1,30 @@ +--- a/sa_common.c ++++ b/sa_common.c +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #include + #include + +--- a/common.c ++++ b/common.c +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + #include "version.h" + #include "common.h" +--- a/ioconf.c ++++ b/ioconf.c +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + #include "ioconf.h" + #include "common.h"