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:
parent
64a66364ad
commit
37fe0444e3
@ -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>
|
||||
|
@ -35,8 +35,6 @@
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#ifdef CONFIG_RADIO_V4L2
|
||||
#include <linux/videodev2.h>
|
||||
#endif
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user