btrfs-progs: compilation errors when using musl libc
authorBrendan Heading <brendanheading@gmail.com>
Wed, 29 Jul 2015 18:37:37 +0000 (19:37 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 31 Aug 2015 17:25:11 +0000 (19:25 +0200)
commit38c5382e3f7e02ad3669c8d4a0a37d86e4868e9d
tree70d319303ee5a8d98214e75742736d7775a416d7
parent6936aa4c4301478aac273059c73d79d557d7774a
btrfs-progs: compilation errors when using musl libc

- limits.h must be included to pick up PATH_MAX.
- remove double declaration of BTRFS_DISABLE_BACKTRACE

kerncompat.h assumed that if __GLIBC__ was not defined,
it could safely define BTRFS_DISABLE_BACKTRACE, however this can be
defined by the configure script. Added a check to ensure it is not
defined first.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-inspect.c
cmds-receive.c
cmds-scrub.c
cmds-send.c
kerncompat.h