changeset 19215:64264df4c4e1

include sys/poll.h only when HAVE_DVB[_HEAD] is set
author nicodvb
date Fri, 28 Jul 2006 15:40:05 +0000
parents 668f0209df77
children 5fd000355777
files libao2/ao_mpegpes.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_mpegpes.c	Fri Jul 28 15:05:35 2006 +0000
+++ b/libao2/ao_mpegpes.c	Fri Jul 28 15:40:05 2006 +0000
@@ -6,7 +6,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <inttypes.h>
-#include <sys/poll.h>
 
 #include "config.h"
 
@@ -15,6 +14,7 @@
 #endif
 
 #ifdef HAVE_DVB
+#include <sys/poll.h>
 #include <sys/ioctl.h>
 #endif