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.
This commit is contained in:
Maarten Bosmans 2011-01-04 11:17:53 +01:00
parent 8d12ab9e63
commit d6d9fb295d
10 changed files with 8 additions and 20 deletions

View file

@ -53,7 +53,6 @@
#include <unistd.h>
#include <limits.h>
#include <signal.h>
#include <poll.h>
#include <pulse/xmalloc.h>
#include <pulse/util.h>
@ -70,6 +69,7 @@
#include <pulsecore/macro.h>
#include <pulsecore/thread-mq.h>
#include <pulsecore/rtpoll.h>
#include <pulsecore/poll.h>
#if defined(__NetBSD__) && !defined(SNDCTL_DSP_GETODELAY)
#include <sys/audioio.h>