diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2014-01-07 10:05:46 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-01-07 10:44:39 +0200 |
commit | 292aa0da2f8c938f05bd549fca4d28a78b5a8b16 (patch) | |
tree | 078598be337d986a46ed250d9cc3e2a07f518c51 /monitor/ellisys.c | |
parent | a700df7ecb7b528fae3d2ddf53083d2170b8cc70 (diff) | |
download | bluez-292aa0da2f8c938f05bd549fca4d28a78b5a8b16.tar.gz |
btmon: Fix compiler warnings
When building for Android this fixes following warnings:
...
monitor/ellisys.c: In function 'ellisys_inject_hci':
monitor/ellisys.c:159:2: warning: implicit declaration of function 'writev'
[-Wimplicit-function-declaration]
...
Diffstat (limited to 'monitor/ellisys.c')
-rw-r--r-- | monitor/ellisys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/ellisys.c b/monitor/ellisys.c index d21c16425..dae690ffe 100644 --- a/monitor/ellisys.c +++ b/monitor/ellisys.c @@ -32,6 +32,7 @@ #include <time.h> #include <sys/time.h> #include <sys/socket.h> +#include <sys/uio.h> #include <netdb.h> #include <arpa/inet.h> |