vnstat: unbreak musl builds.

This commit is contained in:
Juan RP 2015-07-15 11:52:42 +02:00
parent d47254cd31
commit d504eed33b
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
--- src/common.h.orig 2015-07-15 11:51:26.241748048 +0200
+++ src/common.h 2015-07-15 11:51:33.086404222 +0200
@@ -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>

View File

@ -1,7 +1,7 @@
# Template build file for "vnstat" # Template build file for "vnstat"
pkgname=vnstat pkgname=vnstat
version=1.14 version=1.14
revision=4 revision=5
build_style=gnu-makefile build_style=gnu-makefile
short_desc="A terminal based network traffic monitor" short_desc="A terminal based network traffic monitor"
maintainer="Eivind Uggedal <eivind@uggedal.com>" maintainer="Eivind Uggedal <eivind@uggedal.com>"