Browse Source
Merge pull request #9634 from neheb/bbbbb
libsigar: Add missing header
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
11 additions and
1 deletions
-
libs/libsigar/Makefile
-
libs/libsigar/patches/020-sysmacros.patch
|
|
@ -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 |
|
|
|
|
|
@ -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> |