diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-09-19 16:10:05 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-09-24 21:31:13 +0300 |
commit | b1ed44f5deace382b2a03529e3d04bb7e7bc9e84 (patch) | |
tree | 87126f790f87943636dc09ecc954ac2e6b71d61c /lib/hci.c | |
parent | 5b23bead3bd960caf51e2aa84b4e535ca46eecc3 (diff) | |
download | bluez-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |