summaryrefslogtreecommitdiff
path: root/android/hal-sco.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-05-09 16:01:50 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-05-09 16:02:58 +0200
commit5d6f3791181902580f5e7e23f00ca20453d31761 (patch)
tree1bb4b09246204eab99267ed952ee7c60e6199487 /android/hal-sco.c
parent11addb86dff3eb9d30f73f2bc022a47074852d60 (diff)
downloadbluez-5d6f3791181902580f5e7e23f00ca20453d31761.tar.gz
android/hal-sco: Fix missing include
In file included from external/bluetooth/bluez/android/hal-sco.c:23:0: hardware/libhardware/include/hardware/audio.h: At top level: hardware/libhardware/include/hardware/audio.h:377:57: warning: 'struct timespec' declared inside parameter list [enabled by default] hardware/libhardware/include/hardware/audio.h:377:57: warning: its scope is only this definition or declaration, which is probably not
Diffstat (limited to 'android/hal-sco.c')
-rw-r--r--android/hal-sco.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/hal-sco.c b/android/hal-sco.c
index 19f11f291..8f8c3b6f4 100644
--- a/android/hal-sco.c
+++ b/android/hal-sco.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <hardware/audio.h>
#include <hardware/hardware.h>