summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-13 20:59:50 +0100
committerwm4 <wm4@nowhere>2013-11-13 20:59:50 +0100
commit05e2b1f51352ea5f1fea7805dea4a9c4c642f9d8 (patch)
tree609fd19c02aceb08b4ba2506c2b91c555bf298ff /stream
parent8444c916d4ec2454cf30a751018cba8cc874723d (diff)
downloadmpv-05e2b1f51352ea5f1fea7805dea4a9c4c642f9d8.tar.bz2
mpv-05e2b1f51352ea5f1fea7805dea4a9c4c642f9d8.tar.xz
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.
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_pvr.c1
-rw-r--r--stream/stream_radio.c2
-rw-r--r--stream/tvi_v4l2.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/stream/stream_pvr.c b/stream/stream_pvr.c
index 1b11584803..4f121f0853 100644
--- a/stream/stream_pvr.c
+++ b/stream/stream_pvr.c
@@ -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>
diff --git a/stream/stream_radio.c b/stream/stream_radio.c
index 9bbfcbecb1..4189dd469b 100644
--- a/stream/stream_radio.c
+++ b/stream/stream_radio.c
@@ -35,8 +35,6 @@
#include <errno.h>
#include <unistd.h>
-#include <linux/types.h>
-
#if HAVE_RADIO_V4L2
#include <linux/videodev2.h>
#endif
diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c
index d99370d8dd..3c6bee0885 100644
--- a/stream/tvi_v4l2.c
+++ b/stream/tvi_v4l2.c
@@ -52,7 +52,6 @@ known issues:
#if HAVE_SYS_VIDEOIO_H
#include <sys/videoio.h>
#else
-#include <linux/types.h>
#include <linux/videodev2.h>
#endif
#include "mpvcore/mp_msg.h"