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
vnstat: fix musl compatibility
Signed-off-by: Peter Ivanov <pivanov@hotmail.com>
lilik-openwrt-22.03
Peter Ivanov
10 years ago
parent
7a3493a9eb
commit
192884514f
1 changed files
with
10 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
net/vnstat/patches/100-musl-compat.patch
+ 10
- 0
net/vnstat/patches/100-musl-compat.patch
View File
@ -0,0 +1,10 @@
--- a/src/common.h
+++ b/src/common.h
@@ -22,6 +22,7 @@
#include <pwd.h>
#include <grp.h>
#include <libgen.h>
+#include <fcntl.h>
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
#include <sys/param.h>
Write
Preview
Loading…
Cancel
Save