mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 17:46:16 +04:00
Merge pull request #1415 from papaj0e/master
vnstat: fix musl compatibility
This commit is contained in:
10
net/vnstat/patches/100-musl-compat.patch
Normal file
10
net/vnstat/patches/100-musl-compat.patch
Normal 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>
|
||||
Reference in New Issue
Block a user