$OpenBSD: patch-media_capture_video_video_capture_device_cc,v 1.5 2016/05/28 14:49:39 robert Exp $
--- media/capture/video/video_capture_device.cc.orig.port	Wed May 25 21:01:03 2016
+++ media/capture/video/video_capture_device.cc	Thu May 26 08:09:47 2016
@@ -35,7 +35,7 @@ VideoCaptureDevice::Name::Name(const std::string& name
     : device_name_(name), unique_id_(id) {
 }
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 VideoCaptureDevice::Name::Name(const std::string& name,
                                const std::string& id,
                                const CaptureApiType api_type)
@@ -78,7 +78,7 @@ VideoCaptureDevice::Name::Name(const std::string& name
 VideoCaptureDevice::Name::~Name() {
 }
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 const char* VideoCaptureDevice::Name::GetCaptureApiTypeString() const {
   switch (capture_api_type()) {
     case V4L2_SINGLE_PLANE:
