[MPlayer-cvslog] r27463 - in trunk: configure libao2/ao_mpegpes.c libvo/vo_mpegpes.c stream/dvb_tune.c stream/stream_dvb.c stream/stream_pvr.c
diego
subversion at mplayerhq.hu
Thu Aug 14 17:54:53 CEST 2008
Author: diego
Date: Thu Aug 14 17:54:53 2008
New Revision: 27463
Log:
Use '#include <poll.h>' instead of '#include <sys/poll.h>'.
It is the standard location as defined by the Open Group.
Modified:
trunk/configure
trunk/libao2/ao_mpegpes.c
trunk/libvo/vo_mpegpes.c
trunk/stream/dvb_tune.c
trunk/stream/stream_dvb.c
trunk/stream/stream_pvr.c
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Thu Aug 14 17:54:53 2008
@@ -4529,7 +4529,7 @@ echocheck "DVB"
if test "$_dvb" = auto ; then
_dvb=no
cat >$TMPC << EOF
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <time.h>
@@ -4559,7 +4559,7 @@ if test "$_dvbhead" = auto ; then
_dvbhead=no
cat >$TMPC << EOF
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <time.h>
Modified: trunk/libao2/ao_mpegpes.c
==============================================================================
--- trunk/libao2/ao_mpegpes.c (original)
+++ trunk/libao2/ao_mpegpes.c Thu Aug 14 17:54:53 2008
@@ -11,7 +11,7 @@
#include "config.h"
#ifdef CONFIG_DVB
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/ioctl.h>
#endif
Modified: trunk/libvo/vo_mpegpes.c
==============================================================================
--- trunk/libvo/vo_mpegpes.c (original)
+++ trunk/libvo/vo_mpegpes.c Thu Aug 14 17:54:53 2008
@@ -26,7 +26,7 @@
#ifdef CONFIG_DVB
#ifndef CONFIG_DVB_HEAD
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/ioctl.h>
#include <stdio.h>
@@ -41,7 +41,7 @@
#else
#define true 1
#define false 0
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/ioctl.h>
#include <stdio.h>
Modified: trunk/stream/dvb_tune.c
==============================================================================
--- trunk/stream/dvb_tune.c (original)
+++ trunk/stream/dvb_tune.c Thu Aug 14 17:54:53 2008
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include <ctype.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
Modified: trunk/stream/stream_dvb.c
==============================================================================
--- trunk/stream/stream_dvb.c (original)
+++ trunk/stream/stream_dvb.c Thu Aug 14 17:54:53 2008
@@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin Street, Fi
#include <ctype.h>
#include <sys/ioctl.h>
#include <sys/time.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
Modified: trunk/stream/stream_pvr.c
==============================================================================
--- trunk/stream/stream_pvr.c (original)
+++ trunk/stream/stream_pvr.c Thu Aug 14 17:54:53 2008
@@ -36,7 +36,7 @@
#include <sys/ioctl.h>
#include <sys/fcntl.h>
#include <inttypes.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <linux/types.h>
#include <linux/videodev2.h>
More information about the MPlayer-cvslog
mailing list