From: Andrei Emeltchenko <[email protected]>
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]
...
---
monitor/ellisys.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/monitor/ellisys.c b/monitor/ellisys.c
index d21c164..dae690f 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>
--
1.8.3.2
Hi Andrei,
On Tue, Jan 07, 2014, Andrei Emeltchenko wrote:
> 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]
> ...
> ---
> monitor/ellisys.c | 1 +
> 1 file changed, 1 insertion(+)
Applied. Thanks.
Johan