summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-02-03 01:15:42 +0100
committerDavid Sterba <dsterba@suse.com>2018-02-03 01:15:42 +0100
commit3aa1bbdd89ee9c9c48d260a6192fae08328f1b2f (patch)
tree9c3c4c12ff0bf7c68b464111a439a93101c9676c
parentde60d6f0479998f3b67a20e637268192f6611473 (diff)
btrfs-progs: mkfs: fix build on musl
Another build failure on musl. Issue: #90 Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--mkfs/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkfs/main.c b/mkfs/main.c
index ea65c6d..5a717f7 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -26,6 +26,7 @@
#include <stdlib.h>
/* #include <sys/dir.h> included via androidcompat.h */
#include <fcntl.h>
+#include <limits.h>
#include <unistd.h>
#include <getopt.h>
#include <uuid/uuid.h>