diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-08-02 16:45:45 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2019-08-02 16:57:23 -0700 |
commit | b97f32ec4401dba64ea80d0c066fcb79658a58b7 (patch) | |
tree | 41ac7fcc137bb8e49cd8809cb75f85f494c60d4a /libs/libsigar | |
parent | 15884f28a1ea30f8b0dc0b6fa5b295653460f871 (diff) |
libsigar: Add missing header
The new version of musl does not include this header internally anymore.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libsigar')
-rw-r--r-- | libs/libsigar/Makefile | 2 | ||||
-rw-r--r-- | libs/libsigar/patches/020-sysmacros.patch | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/libs/libsigar/Makefile b/libs/libsigar/Makefile index 3c3d0be28..39f22138e 100644 --- a/libs/libsigar/Makefile +++ b/libs/libsigar/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsigar PKG_SOURCE_DATE:=2017-02-21 PKG_SOURCE_VERSION:=a6c61edf8c64e013411e8c9d753165cd03102c6e -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/boundary/sigar diff --git a/libs/libsigar/patches/020-sysmacros.patch b/libs/libsigar/patches/020-sysmacros.patch new file mode 100644 index 000000000..334a908a3 --- /dev/null +++ b/libs/libsigar/patches/020-sysmacros.patch @@ -0,0 +1,10 @@ +--- a/src/os/linux/linux_sigar.c ++++ b/src/os/linux/linux_sigar.c +@@ -23,6 +23,7 @@ + #include <linux/param.h> + #include <sys/param.h> + #include <sys/stat.h> ++#include <sys/sysmacros.h> + #include <sys/times.h> + #include <sys/utsname.h> + #include <mntent.h> |