diff options
author | wm4 <wm4@nowhere> | 2013-11-13 20:59:50 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-13 20:59:50 +0100 |
commit | 05e2b1f51352ea5f1fea7805dea4a9c4c642f9d8 (patch) | |
tree | 609fd19c02aceb08b4ba2506c2b91c555bf298ff | |
parent | 8444c916d4ec2454cf30a751018cba8cc874723d (diff) | |
download | mpv-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.
-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 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" |