diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-01-04 11:17:53 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-02-17 11:58:21 +0100 |
commit | d6d9fb295d03a411974a148e469465e0f7c59891 (patch) | |
tree | 7b451435d19acc2516164d67be5faa6d2521f0a0 /src/modules/bluetooth | |
parent | 8d12ab9e632420864fa024909c66863de2452987 (diff) |
Clean up <poll.h> includes
Instead <pulsecore/poll.h> should be included. That file includes poll.h on
platform where it is appropriate. Also remove some unnecessary <ioctl.h>
includes.
Diffstat (limited to 'src/modules/bluetooth')
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index 6d31c1eb..dc09ffca 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -25,8 +25,6 @@ #include <string.h> #include <errno.h> -#include <poll.h> -#include <sys/ioctl.h> #include <linux/sockios.h> #include <arpa/inet.h> @@ -44,6 +42,7 @@ #include <pulsecore/socket-util.h> #include <pulsecore/thread.h> #include <pulsecore/thread-mq.h> +#include <pulsecore/poll.h> #include <pulsecore/rtpoll.h> #include <pulsecore/time-smoother.h> #include <pulsecore/namereg.h> |