Return-Path: From: Natanael Copa To: linux-bluetooth@vger.kernel.org Cc: Natanael Copa Subject: [PATCH v2] tools: fix headers for bcm43xx Date: Wed, 20 Aug 2014 11:06:21 +0200 Message-Id: <1408525581-2679-1-git-send-email-ncopa@alpinelinux.org> In-Reply-To: References: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 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