diff options
author | Romain Naour <romain.naour@gmail.com> | 2017-05-13 19:10:09 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-05-14 16:04:30 +0200 |
commit | d09d3a7fa00585ca570a75fee59b9cb3ac983d98 (patch) | |
tree | f4f3dc1284b6d581d8bee28c2642b9da1d485527 /package/bluez_utils/0004-test-add-missing-header.patch | |
parent | 8554be9f82301282161cf6310bacdb6067fefb16 (diff) | |
download | buildroot-d09d3a7fa00585ca570a75fee59b9cb3ac983d98.tar.gz buildroot-d09d3a7fa00585ca570a75fee59b9cb3ac983d98.zip |
package/bluez_utils: fix test build issues with musl
Add one missing header and avoid encrypt redefinition.
Fixes:
http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bluez_utils/0004-test-add-missing-header.patch')
-rw-r--r-- | package/bluez_utils/0004-test-add-missing-header.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/bluez_utils/0004-test-add-missing-header.patch b/package/bluez_utils/0004-test-add-missing-header.patch new file mode 100644 index 0000000000..c74afb8304 --- /dev/null +++ b/package/bluez_utils/0004-test-add-missing-header.patch @@ -0,0 +1,34 @@ +From d3c098c2fde55ddf0c7d56eae56925103d35da73 Mon Sep 17 00:00:00 2001 +From: Romain Naour <romain.naour@gmail.com> +Date: Sat, 13 May 2017 18:56:51 +0200 +Subject: [PATCH] test: add missing header + +test/attest.c: In function 'at_command': +test/attest.c:43:2: error: unknown type name 'fd_set' + fd_set rfds; + ^ + +Fixes: +http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/ + +Signed-off-by: Romain Naour <romain.naour@gmail.com> +--- + test/attest.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/test/attest.c b/test/attest.c +index 12ba682..2626cf1 100644 +--- a/test/attest.c ++++ b/test/attest.c +@@ -35,6 +35,8 @@ + #include <sys/ioctl.h> + #include <sys/socket.h> + ++#include <sys/select.h> ++ + #include <bluetooth/bluetooth.h> + #include <bluetooth/rfcomm.h> + +-- +2.9.3 + |