btrfs-progs: cmds: fix build on musl when using NAME_MAX
There is some code that using NAME_MAX but it doesn't include header that is defined. This patch adds a line that includes linux/limits.h which defines NAME_MAX. Issue: #386 Issue: #385 Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Sidong Yang <realwakka@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
6527771668
commit
d302bf5b34
|
@ -24,6 +24,7 @@
|
|||
#include <stdarg.h>
|
||||
#include <getopt.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/limits.h>
|
||||
|
||||
#include "common/utils.h"
|
||||
#include "kerncompat.h"
|
||||
|
|
Loading…
Reference in New Issue