Re: [PATCH 1/1] btrfs-progs: compilation errors when using musl libc

2015-07-30 Thread David Sterba
On Wed, Jul 29, 2015 at 07:37:37PM +0100, Brendan Heading wrote: > - 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 ca

[PATCH 1/1] btrfs-progs: compilation errors when using musl libc

2015-07-29 Thread Brendan Heading
- 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 def