btrfs-progs: mkfs: fix build on musl
authorDavid Sterba <dsterba@suse.com>
Sat, 3 Feb 2018 00:15:42 +0000 (01:15 +0100)
committerDavid Sterba <dsterba@suse.com>
Sat, 3 Feb 2018 00:15:42 +0000 (01:15 +0100)
Another build failure on musl.

Issue: #90
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs/main.c

index ea65c6d..5a717f7 100644 (file)
@@ -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>