From b8f252332e4adff5b917445b6d60fc5d35246f8a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 20 Aug 2014 11:06:21 +0200 Subject: [PATCH] tools: fix headers for bcm43xx PATH_MAX is defined in limits.h so include it explicitly. This fixes the following compile error on musl libc (Alpine Linux): tools/hciattach_bcm43xx.c: In function 'bcm43xx_locate_patch': tools/hciattach_bcm43xx.c:313:14: error: 'PATH_MAX' undeclared (first use in this function) char path[PATH_MAX]; ^ --- tools/hciattach_bcm43xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c index ad9b239be..cb4bfb931 100644 --- a/tools/hciattach_bcm43xx.c +++ b/tools/hciattach_bcm43xx.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include -- 2.47.3