git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7a3493a
)
vnstat: fix musl compatibility
author
Peter Ivanov
<redacted>
Wed, 17 Jun 2015 22:26:46 +0000
(
01:26
+0300)
committer
Peter Ivanov
<redacted>
Wed, 17 Jun 2015 22:26:46 +0000
(
01:26
+0300)
Signed-off-by: Peter Ivanov <redacted>
net/vnstat/patches/100-musl-compat.patch
[new file with mode: 0644]
patch
|
blob
diff --git a/net/vnstat/patches/100-musl-compat.patch
b/net/vnstat/patches/100-musl-compat.patch
new file mode 100644
(file)
index 0000000..
0512389
--- /dev/null
+++ b/
net/vnstat/patches/100-musl-compat.patch
@@ -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>
git clone https://git.99rst.org/PROJECT