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.
This commit is contained in:
wm4 2013-11-13 20:59:50 +01:00
parent 8444c916d4
commit 05e2b1f513
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>
#if HAVE_RADIO_V4L2
#include <linux/videodev2.h>
#endif

View File

@ -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"