Mercurial > mplayer.hg
changeset 27431:bb738b9ea7c4
Use '#include <poll.h>' instead of '#include <sys/poll.h>'.
It is the standard location as defined by the Open Group.
author | diego |
---|---|
date | Thu, 14 Aug 2008 15:54:53 +0000 |
parents | 8bc08d1b115d |
children | 078b68af5df0 |
files | configure libao2/ao_mpegpes.c libvo/vo_mpegpes.c stream/dvb_tune.c stream/stream_dvb.c stream/stream_pvr.c |
diffstat | 6 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Aug 14 15:48:11 2008 +0000 +++ b/configure Thu Aug 14 15:54:53 2008 +0000 @@ -4529,7 +4529,7 @@ 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 @@ _dvbhead=no cat >$TMPC << EOF -#include <sys/poll.h> +#include <poll.h> #include <sys/ioctl.h> #include <stdio.h> #include <time.h>
--- a/libao2/ao_mpegpes.c Thu Aug 14 15:48:11 2008 +0000 +++ b/libao2/ao_mpegpes.c Thu Aug 14 15:54:53 2008 +0000 @@ -11,7 +11,7 @@ #include "config.h" #ifdef CONFIG_DVB -#include <sys/poll.h> +#include <poll.h> #include <sys/ioctl.h> #endif
--- a/libvo/vo_mpegpes.c Thu Aug 14 15:48:11 2008 +0000 +++ b/libvo/vo_mpegpes.c Thu Aug 14 15:54:53 2008 +0000 @@ -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>
--- a/stream/dvb_tune.c Thu Aug 14 15:48:11 2008 +0000 +++ b/stream/dvb_tune.c Thu Aug 14 15:54:53 2008 +0000 @@ -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>