Return-Path: MIME-Version: 1.0 In-Reply-To: <1408525581-2679-1-git-send-email-ncopa@alpinelinux.org> References: <1408525581-2679-1-git-send-email-ncopa@alpinelinux.org> Date: Wed, 20 Aug 2014 13:41:28 +0300 Message-ID: Subject: Re: [PATCH v2] tools: fix headers for bcm43xx From: Luiz Augusto von Dentz To: Natanael Copa Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Natanael, On Wed, Aug 20, 2014 at 12:06 PM, Natanael Copa wrote: > 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]; > ^ > --- > This is a delayed follow-up of: > http://comments.gmane.org/gmane.linux.bluez.kernel/47523 > > Changes since v1: > - remove signed-off-by line > - fix typo in commit message > > tools/hciattach_bcm43xx.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/hciattach_bcm43xx.c b/tools/hciattach_bcm43xx.c > index ad9b239..cb4bfb9 100644 > --- a/tools/hciattach_bcm43xx.c > +++ b/tools/hciattach_bcm43xx.c > @@ -34,6 +34,7 @@ > #include > #include > #include > +#include > > #include > #include > -- > 2.1.0 Applied, thanks. -- Luiz Augusto von Dentz