diff options
author | robert.nagy@gmail.com <robert.nagy@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 23:01:50 +0000 |
---|---|---|
committer | robert.nagy@gmail.com <robert.nagy@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 23:01:50 +0000 |
commit | 7aae582cd7730f3d6442191488566534e547ef8a (patch) | |
tree | f0bb867252852f40413a113f6720012bb3f2401d /media | |
parent | 7d2d081519567198003b67d3cdf5b477c4dca6a5 (diff) | |
download | chromium_src-7aae582cd7730f3d6442191488566534e547ef8a.zip chromium_src-7aae582cd7730f3d6442191488566534e547ef8a.tar.gz chromium_src-7aae582cd7730f3d6442191488566534e547ef8a.tar.bz2 |
fix v4l support on openbsd
media/video/capture/linux/video_capture_device_linux.cc:
OpenBSD has V4L support but the header's filename is different
BUG=
TEST=
Review URL: http://codereview.chromium.org/8380018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107227 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/video/capture/linux/video_capture_device_linux.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/video/capture/linux/video_capture_device_linux.cc b/media/video/capture/linux/video_capture_device_linux.cc index c70ba3c..c495cec 100644 --- a/media/video/capture/linux/video_capture_device_linux.cc +++ b/media/video/capture/linux/video_capture_device_linux.cc @@ -6,7 +6,11 @@ #include <errno.h> #include <fcntl.h> +#if defined(OS_OPENBSD) +#include <sys/videoio.h> +#else #include <linux/videodev2.h> +#endif #include <sys/ioctl.h> #include <sys/mman.h> |