summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2018-11-03 20:54:12 +0200
committerTimo Teräs <timo.teras@iki.fi>2019-02-13 15:32:22 +0200
commit86922d1a34fc1004f439b0b86bfbd908a9f07422 (patch)
tree008eefbf07ea86cd6c47dbdb5b0568a4a3192877
parent947baeea1860a4eb44bb8636e1db295a7bc1d259 (diff)
downloadapk-tools-86922d1a34fc1004f439b0b86bfbd908a9f07422.tar.gz
apk-tools-86922d1a34fc1004f439b0b86bfbd908a9f07422.tar.bz2
apk-tools-86922d1a34fc1004f439b0b86bfbd908a9f07422.tar.xz
apk-tools-86922d1a34fc1004f439b0b86bfbd908a9f07422.zip
include sys/sysmacros.h for makedev definition
-rw-r--r--src/archive.c1
-rw-r--r--src/database.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/archive.c b/src/archive.c
index f3a66c2..1745056 100644
--- a/src/archive.c
+++ b/src/archive.c
@@ -21,6 +21,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/xattr.h>
+#include <sys/sysmacros.h>
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/database.c b/src/database.c
index 33cd32a..8e58785 100644
--- a/src/database.c
+++ b/src/database.c
@@ -27,6 +27,7 @@
#include <sys/stat.h>
#include <sys/mount.h>
#include <sys/statvfs.h>
+#include <sys/sysmacros.h>
#include <linux/magic.h>
#include "apk_defines.h"