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-send.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cmds-send.c') diff --git a/cmds-send.c b/cmds-send.c index 20bba18..a0b7f95 100644 --- a/cmds-send.c +++ b/cmds-send.c @@ -33,6 +33,7 @@ #include #include #include +#include #include "ctree.h" #include "ioctl.h" -- cgit v1.2.1