This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#1429
from jow-/sysstat-musl-compat
sysstat: fix musl compatibility
lilik-openwrt-22.03
Luka Perkov
9 years ago
parent
4bd4272fff
431ad5f682
commit
91e9675264
2 changed files
with
31 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
utils/sysstat/Makefile
+30
-0
utils/sysstat/patches/100-musl-compat.patch
+ 1
- 1
utils/sysstat/Makefile
View File
@ -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 <marko.ratkaj@sartura.hr>
+ 30
- 0
utils/sysstat/patches/100-musl-compat.patch
View File
@ -0,0 +1,30 @@
--- a/sa_common.c
+++ b/sa_common.c
@@ -28,6 +28,7 @@
#include <dirent.h>
#include <fcntl.h>
#include <libgen.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
--- a/common.c
+++ b/common.c
@@ -30,6 +30,7 @@
#include <dirent.h>
#include <ctype.h>
#include <libgen.h>
+#include <limits.h>
#include "version.h"
#include "common.h"
--- a/ioconf.c
+++ b/ioconf.c
@@ -27,6 +27,7 @@
#include <errno.h>
#include <dirent.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include "ioconf.h"
#include "common.h"
Write
Preview
Loading…
Cancel
Save