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]
This reverts commit 8a03376544.
The patch needs to be split up and the gdbus/ changes were bogus
compared to the original commit message.
Conflicts:
Makefile.am
Makefile.obexd
profiles/cyclingspeed/cyclingspeed.c
profiles/heartrate/heartrate.c
src/error.c
Instead of trying to include config.h in each file over the tree and
possibly forgetting to include it, give a "-include config.h" argument
to the compiler so it's guaranteed that a) it will be included for all
source files and b) it will be the first header included.
gdbus/ directory is left out, since it would break other projects using
it.