From 38c5382e3f7e02ad3669c8d4a0a37d86e4868e9d Mon Sep 17 00:00:00 2001 From: Brendan Heading Date: Wed, 29 Jul 2015 19:37:37 +0100 Subject: 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 Signed-off-by: David Sterba --- cmds-receive.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cmds-receive.c') diff --git a/cmds-receive.c b/cmds-receive.c index 071bea95..d4b31033 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3