diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-04-15 13:30:53 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-04-15 13:12:04 -0700 |
commit | 6ad13748da6a6068d8a28a988a4dd82152cb04c9 (patch) | |
tree | 3aa23b410c0e9cc35ce20eb74df981003f8f443f /tools/hciattach_qualcomm.c | |
parent | a8e5fe8a3cfeef8cdfcfc42abceb37a1766bf48f (diff) | |
download | bluez-6ad13748da6a6068d8a28a988a4dd82152cb04c9.tar.gz |
tools/hciattach: Fix missing includes
According to writev manual one should include <sys/uio.h> to use it.
This fix following warnings with bionic:
external/bluetooth/bluez/tools/hciattach_tialt.c: In function
'texas_load_firmware':
external/bluetooth/bluez/tools/hciattach_tialt.c:142:4: warning:
implicit declaration of function 'writev'
[-Wimplicit-function-declaration]
target thumb C: hciattach <= external/bluetooth/bluez/tools/
hciattach_ath3k.c
target thumb C: hciattach <= external/bluetooth/bluez/tools/
hciattach_qualcomm.c
external/bluetooth/bluez/tools/hciattach_qualcomm.c: In function
'qualcomm_load_firmware':
external/bluetooth/bluez/tools/hciattach_qualcomm.c:147:4: warning:
implicit declaration of function 'writev'
[-Wimplicit-function-declaration]
Diffstat (limited to 'tools/hciattach_qualcomm.c')
-rw-r--r-- | tools/hciattach_qualcomm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/hciattach_qualcomm.c b/tools/hciattach_qualcomm.c index 0e02e1e92..eb72a0ff2 100644 --- a/tools/hciattach_qualcomm.c +++ b/tools/hciattach_qualcomm.c @@ -40,6 +40,7 @@ #include <sys/poll.h> #include <sys/param.h> #include <sys/ioctl.h> +#include <sys/uio.h> #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> |