summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-25 19:14:27 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2017-07-29 01:57:34 +0000
commit13747fab83b30d9074b3327ed1d05bf19f85528c (patch)
tree7805b3ab19703eee5b7396b71924bbe7dc388f5c /src/database.c
parent1a52c1e4bd1868cd6c64f29b5045ccd57a479174 (diff)
downloadapk-tools-13747fab83b30d9074b3327ed1d05bf19f85528c.tar.gz
apk-tools-13747fab83b30d9074b3327ed1d05bf19f85528c.tar.bz2
apk-tools-13747fab83b30d9074b3327ed1d05bf19f85528c.tar.xz
apk-tools-13747fab83b30d9074b3327ed1d05bf19f85528c.zip
database: include POSIX header for ST_* defines
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c
index ab6a8cb..12f1d16 100644
--- a/src/database.c
+++ b/src/database.c
@@ -26,6 +26,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/mount.h>
+#include <sys/statvfs.h>
#include <linux/magic.h>
#include "apk_defines.h"