mirror of https://github.com/mpv-player/mpv
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:
parent
20e0b5c831
commit
511729a3a2
|
@ -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>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "config.h"
|
||||
|
||||
#ifdef CONFIG_DVB
|
||||
#include <sys/poll.h>
|
||||
#include <poll.h>
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue