mirror of https://github.com/mpv-player/mpv
stream: don't include linux/types.h in some files
Apparently this is not portable to FreeBSD. It turns out that we (probably) don't use any symbols defined by this header directly, so the includes are not needed.
This commit is contained in:
parent
8444c916d4
commit
05e2b1f513
|
@ -37,7 +37,6 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <linux/types.h>
|
|
||||||
#include <linux/videodev2.h>
|
#include <linux/videodev2.h>
|
||||||
|
|
||||||
#include <libavutil/common.h>
|
#include <libavutil/common.h>
|
||||||
|
|
|
@ -35,8 +35,6 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <linux/types.h>
|
|
||||||
|
|
||||||
#if HAVE_RADIO_V4L2
|
#if HAVE_RADIO_V4L2
|
||||||
#include <linux/videodev2.h>
|
#include <linux/videodev2.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -52,7 +52,6 @@ known issues:
|
||||||
#if HAVE_SYS_VIDEOIO_H
|
#if HAVE_SYS_VIDEOIO_H
|
||||||
#include <sys/videoio.h>
|
#include <sys/videoio.h>
|
||||||
#else
|
#else
|
||||||
#include <linux/types.h>
|
|
||||||
#include <linux/videodev2.h>
|
#include <linux/videodev2.h>
|
||||||
#endif
|
#endif
|
||||||
#include "mpvcore/mp_msg.h"
|
#include "mpvcore/mp_msg.h"
|
||||||
|
|
Loading…
Reference in New Issue