From 46f67847f7174caebdca3cc8dec093716fe4fe67 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 19 Sep 2014 16:10:08 +0200 Subject: [PATCH] shared: Fix compilation errors with musl C src/shared/hci.o src/shared/hci.c: In function 'send_command': src/shared/hci.c:139:2: error: implicit declaration of function 'writev' [-Werror=implicit-function-declaration] if (writev(fd, iov, iovcnt) < 0) ^ cc1: all warnings being treated as errors Makefile:5422: recipe for target 'src/shared/hci.o' failed make[1]: *** [src/shared/hci.o] Error 1 --- src/shared/hci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/hci.c b/src/shared/hci.c index 6d0a5f86c..6ce62eba4 100644 --- a/src/shared/hci.c +++ b/src/shared/hci.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "monitor/bt.h" #include "monitor/mainloop.h" -- 2.47.3