7d0763ff03d7f2aefd3639872bafcfc21f9d840f
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / bluez_utils / 0002-tools-hciconfig-include-fcntl.h.patch
1 From ae607756a5f2a09bce1fc3a52e74b5f471245e33 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Mon, 6 Apr 2015 23:54:19 +0200
4 Subject: [PATCH] tools/hciconfig: include <fcntl.h>
5
6 Needed to get the definition of mode_t in musl.
7
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 ---
10  tools/hciconfig.c | 1 +
11  1 file changed, 1 insertion(+)
12
13 diff --git a/tools/hciconfig.c b/tools/hciconfig.c
14 index f1458b9..6776d62 100644
15 --- a/tools/hciconfig.c
16 +++ b/tools/hciconfig.c
17 @@ -34,6 +34,7 @@
18  #include <stdlib.h>
19  #include <string.h>
20  #include <getopt.h>
21 +#include <fcntl.h>
22  #include <sys/param.h>
23  #include <sys/ioctl.h>
24  #include <sys/socket.h>
25 -- 
26 2.1.0
27