diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-09-19 16:10:07 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-09-24 21:31:13 +0300 |
commit | 51ec4fd847369bc77e72850fe93d727ae9c656b9 (patch) | |
tree | 391c8412b78bb63f1c149c86d3c0b43104228e09 /tools/l2ping.c | |
parent | 921894c4e280b8153bc0f727a6401baa949f642c (diff) | |
download | bluez-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/l2ping.c')
-rw-r--r-- | tools/l2ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/l2ping.c b/tools/l2ping.c index 29fb3d0e8..3dd437e8e 100644 --- a/tools/l2ping.c +++ b/tools/l2ping.c @@ -35,7 +35,7 @@ #include <getopt.h> #include <signal.h> #include <sys/time.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/socket.h> #include <bluetooth/bluetooth.h> |