summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-03-12 19:46:52 +0200
committerDavid Sterba <dsterba@suse.com>2017-03-16 17:02:44 +0100
commit153d4e6c01b53855d01b5d0c99886ba31b48bad1 (patch)
treeb3a5c68213eb57530dc72f3fd3da5626e88191ea /mkfs
parent6d881033e1651a59970fa52d365b3268decab1d1 (diff)
btrfs-progs: add missing limits headers
Build under musl libc fails because of missing PATH_MAX and XATTR_NAME_MAX macro declarations. Add the required headers. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkfs/common.c b/mkfs/common.c
index 1e6a3241..1e8f26ea 100644
--- a/mkfs/common.c
+++ b/mkfs/common.c
@@ -18,6 +18,7 @@
#include <uuid/uuid.h>
#include <blkid/blkid.h>
#include <fcntl.h>
+#include <limits.h>
#include "ctree.h"
#include "disk-io.h"
#include "volumes.h"