1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

Use '#include <poll.h>' instead of '#include <sys/poll.h>'.

It is the standard location as defined by the Open Group.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27463 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-08-14 15:54:53 +00:00
parent 20e0b5c831
commit 511729a3a2
6 changed files with 8 additions and 8 deletions

4
configure vendored
View File

@ -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>

View File

@ -11,7 +11,7 @@
#include "config.h"
#ifdef CONFIG_DVB
#include <sys/poll.h>
#include <poll.h>
#include <sys/ioctl.h>
#endif

View File

@ -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>

View File

@ -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>

View File

@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#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>

View File

@ -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>