projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de60d6f
)
btrfs-progs: mkfs: fix build on musl
author
David Sterba
<dsterba@suse.com>
Sat, 3 Feb 2018 00:15:42 +0000
(
01:15
+0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/mkfs/main.c
b/mkfs/main.c
index
ea65c6d
..
5a717f7
100644
(file)
--- 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>