The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / bluez_utils / 0002-tools-hciconfig-include-fcntl.h.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/bluez_utils/0002-tools-hciconfig-include-fcntl.h.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/bluez_utils/0002-tools-hciconfig-include-fcntl.h.patch
new file mode 100644 (file)
index 0000000..7d0763f
--- /dev/null
@@ -0,0 +1,27 @@
+From ae607756a5f2a09bce1fc3a52e74b5f471245e33 Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Date: Mon, 6 Apr 2015 23:54:19 +0200
+Subject: [PATCH] tools/hciconfig: include <fcntl.h>
+
+Needed to get the definition of mode_t in musl.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ tools/hciconfig.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tools/hciconfig.c b/tools/hciconfig.c
+index f1458b9..6776d62 100644
+--- a/tools/hciconfig.c
++++ b/tools/hciconfig.c
+@@ -34,6 +34,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <getopt.h>
++#include <fcntl.h>
+ #include <sys/param.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
+-- 
+2.1.0
+