diff options
author | wm4 <wm4@nowhere> | 2013-11-13 20:59:50 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-01 19:21:28 +0100 |
commit | 37fe0444e3319434fbd51abd99da6e2ae5d07e28 (patch) | |
tree | 9051168409ec81a5b1a6070f07d42daee563662e | |
parent | 64a66364ad82ae2b886a5d2918f92f808304b1c0 (diff) | |
download | mpv-37fe0444e3319434fbd51abd99da6e2ae5d07e28.tar.bz2 mpv-37fe0444e3319434fbd51abd99da6e2ae5d07e28.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.
Conflicts:
stream/stream_radio.c
-rw-r--r-- | stream/stream_pvr.c | 1 | ||||
-rw-r--r-- | stream/stream_radio.c | 2 | ||||
-rw-r--r-- | stream/tvi_v4l2.c | 1 |
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 de2f474bc9..d233739e37 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> - #ifdef CONFIG_RADIO_V4L2 #include <linux/videodev2.h> #endif diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index e9092ca4e7..0fefc57634 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -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" |