summaryrefslogtreecommitdiff
path: root/lib/hci.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-09-19 16:10:05 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-09-24 21:31:13 +0300
commitb1ed44f5deace382b2a03529e3d04bb7e7bc9e84 (patch)
tree87126f790f87943636dc09ecc954ac2e6b71d61c /lib/hci.c
parent5b23bead3bd960caf51e2aa84b4e535ca46eecc3 (diff)
downloadbluez-b1ed44f5deace382b2a03529e3d04bb7e7bc9e84.tar.gz
lib: Fix compilation error with musl
CC lib/hci.lo In file included from lib/hci.c:39: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> ^ cc1: all warnings being treated as errors
Diffstat (limited to 'lib/hci.c')
-rw-r--r--lib/hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hci.c b/lib/hci.c
index 005578a32..ce272f670 100644
--- a/lib/hci.c
+++ b/lib/hci.c
@@ -33,10 +33,10 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+#include <poll.h>
#include <sys/param.h>
#include <sys/uio.h>
-#include <sys/poll.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>