btrfs-progs: include headers required for musl-libc

This fixes various compilation errors where PATH_MAX and XATTR_SIZE_MAX
were missing. To my knowledge, this should have no bad side effects.

Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
Merlijn Wajer 2014-12-13 15:07:25 +01:00 committed by David Sterba
parent 501c8eeda2
commit c69854247b
3 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include <uuid/uuid.h> #include <uuid/uuid.h>
#include <linux/limits.h>
#include "ctree.h" #include "ctree.h"
#include "disk-io.h" #include "disk-io.h"

1
help.c
View File

@ -17,6 +17,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <limits.h>
#include "commands.h" #include "commands.h"
#include "utils.h" #include "utils.h"

2
mkfs.c
View File

@ -35,6 +35,8 @@
#include <uuid/uuid.h> #include <uuid/uuid.h>
#include <ctype.h> #include <ctype.h>
#include <sys/xattr.h> #include <sys/xattr.h>
#include <limits.h>
#include <linux/limits.h>
#include <blkid/blkid.h> #include <blkid/blkid.h>
#include <ftw.h> #include <ftw.h>
#include "ctree.h" #include "ctree.h"