summaryrefslogtreecommitdiffstats
path: root/src/handsfree-audio.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2013-03-12 09:42:05 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-03-18 14:00:15 -0500
commit5d0ba72d040505a6ec076d20216e85d3cc356a50 (patch)
treea08d785e92dc6447289f480ec3ffe055c8394d59 /src/handsfree-audio.c
parentafb447055833c73db1bd4b75ee7d6c840000909a (diff)
downloadofono-5d0ba72d040505a6ec076d20216e85d3cc356a50.tar.bz2
core: Add bt_str2ba() to bluetooth.h
This patch adds a utility Bluetooth function to convert Bluetooth address from string to bdaddr_t.
Diffstat (limited to 'src/handsfree-audio.c')
-rw-r--r--src/handsfree-audio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c
index 13f7c221..d96c7c4a 100644
--- a/src/handsfree-audio.c
+++ b/src/handsfree-audio.c
@@ -26,6 +26,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdint.h>
+#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>