Linux bluetooth development
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Natanael Copa <natanael.copa@gmail.com>
Cc: linux-bluetooth@vger.kernel.org, Natanael Copa <ncopa@alpinelinux.org>
Subject: Re: [PATCH v3] various header include fixes for building with musl libc
Date: Wed, 5 Mar 2014 22:32:37 +0200	[thread overview]
Message-ID: <20140305203237.GA13142@localhost.P-661HNU-F1> (raw)
In-Reply-To: <1390425638-15241-1-git-send-email-ncopa@alpinelinux.org>

Hi Natanael,

On Wed, Jan 22, 2014, Natanael Copa wrote:
> we need:
>  sys/stat.h for mode_t
>  limits.h for PATH_MAX
> 
> Fixes compile errors:
> In file included from tools/hciconfig.c:45:0:
> ./src/textfile.h:27:1: error: unknown type name 'mode_t'
>  int create_file(const char *filename, const mode_t mode);
>  ^
> 
> tools/csr_usb.c: In function 'read_value':
> tools/csr_usb.c:71:12: error: 'PATH_MAX' undeclared (first use in this function)
>   char path[PATH_MAX];
>             ^
> ---
> Changes v2 -> v3:
>  - include the sys/stat.h in hciconfig.c instead of textfile.h. This was
>    the only needed change for defining mode_t everywhere.
> 
>  tools/csr_usb.c   | 1 +
>  tools/hciconfig.c | 1 +
>  tools/hid2hci.c   | 1 +
>  3 files changed, 3 insertions(+)

Seems this patch was forgotten. It has now finally been applied
upstream.

Johan

  reply	other threads:[~2014-03-05 20:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17 12:08 [PATCH 1/3] bnep: avoid use of caddr_t Natanael Copa
2014-01-17 12:08 ` [PATCH 2/3] various header include fixes for building with musl libc Natanael Copa
2014-01-17 12:08 ` [PATCH 3/3] unit: prevent use of glibc's error(3) Natanael Copa
2014-01-17 14:37   ` Luiz Augusto von Dentz
2014-01-17 15:07     ` Natanael Copa
2014-01-17 14:47 ` [PATCH 1/3] bnep: avoid use of caddr_t Luiz Augusto von Dentz
2014-01-22 13:50   ` [PATCH v2 0/3] Various fixes for building bluez with musl libc Natanael Copa
2014-01-22 13:50     ` [PATCH v2 1/3] various header include fixes for building " Natanael Copa
2014-01-22 15:16       ` Anderson Lizardo
2014-01-22 16:03         ` Marcel Holtmann
2014-01-22 16:07         ` Natanael Copa
2014-01-22 18:06           ` Anderson Lizardo
2014-01-22 21:20             ` [PATCH v3] " Natanael Copa
2014-03-05 20:32               ` Johan Hedberg [this message]
2014-01-22 13:50     ` [PATCH v2 2/3] bnep: avoid use of caddr_t Natanael Copa
2014-01-22 13:50     ` [PATCH v2 3/3] unit: prevent use of glibc's error(3) Natanael Copa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140305203237.GA13142@localhost.P-661HNU-F1 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=natanael.copa@gmail.com \
    --cc=ncopa@alpinelinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox