summaryrefslogtreecommitdiff
path: root/tools/cltest.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-09-19 16:10:07 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-09-24 21:31:13 +0300
commit51ec4fd847369bc77e72850fe93d727ae9c656b9 (patch)
tree391c8412b78bb63f1c149c86d3c0b43104228e09 /tools/cltest.c
parent921894c4e280b8153bc0f727a6401baa949f642c (diff)
downloadbluez-51ec4fd847369bc77e72850fe93d727ae9c656b9.tar.gz
tools: Fix compilation errors with musl
This fix number of includes for <sys/poll.h> instead of <poll.h> CC tools/hciattach.o In file included from tools/hciattach.c:41:0: /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> ^
Diffstat (limited to 'tools/cltest.c')
-rw-r--r--tools/cltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cltest.c b/tools/cltest.c
index 4ddb98a5b..0231805b3 100644
--- a/tools/cltest.c
+++ b/tools/cltest.c
@@ -32,7 +32,7 @@
#include <alloca.h>
#include <stdlib.h>
#include <stdbool.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/ioctl.h>
#include <sys/socket.h>