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

@ -32,7 +32,6 @@
#include <unistd.h>
#include <limits.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
#ifdef HAVE_SYS_FILIO_H
#include <sys/filio.h>
@ -49,6 +48,7 @@
#include <pulsecore/thread.h>
#include <pulsecore/thread-mq.h>
#include <pulsecore/rtpoll.h>
#include <pulsecore/poll.h>
#include "module-pipe-source-symdef.h"