1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 12:53:54 +02:00

vnstat: fix musl compatibility

Signed-off-by: Peter Ivanov <pivanov@hotmail.com>
This commit is contained in:
Peter Ivanov 2015-06-18 01:26:46 +03:00
parent 7a3493a9eb
commit 192884514f

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>