0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

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.

Conflicts:
	stream/stream_radio.c
This commit is contained in:
wm4 2013-11-13 20:59:50 +01:00
parent 64a66364ad
commit 37fe0444e3
3 changed files with 0 additions and 4 deletions

View File

@ -37,7 +37,6 @@
#include <fcntl.h>
#include <inttypes.h>
#include <poll.h>
#include <linux/types.h>
#include <linux/videodev2.h>
#include <libavutil/common.h>

View File

@ -35,8 +35,6 @@
#include <errno.h>
#include <unistd.h>
#include <linux/types.h>
#ifdef CONFIG_RADIO_V4L2
#include <linux/videodev2.h>
#endif

View File

@ -52,7 +52,6 @@ known issues:
#ifdef HAVE_SYS_VIDEOIO_H
#include <sys/videoio.h>
#else
#include <linux/types.h>
#include <linux/videodev2.h>
#endif
#include "mpvcore/mp_msg.h"