Browse Source

Merge pull request #1415 from papaj0e/master

vnstat: fix musl compatibility
lilik-openwrt-22.03
Jo-Philipp Wich 9 years ago
parent
commit
38d8e72cbc
1 changed files with 10 additions and 0 deletions
  1. +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>

Loading…
Cancel
Save