From 86405d6ee775aa1982177a9f9f01802bc72d19bd Mon Sep 17 00:00:00 2001 From: Stirling Westrup Date: Tue, 4 Jun 2013 17:04:11 +0200 Subject: [PATCH] v4l2: Fix compilation with older kernels https://bugzilla.gnome.org/show_bug.cgi?id=701595 --- sys/v4l2/v4l2_calls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index c1c5ac4fe0..03f70d1ed4 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -277,7 +277,9 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) #ifdef V4L2_CTRL_TYPE_INTEGER_MENU case V4L2_CTRL_TYPE_INTEGER_MENU: #endif +#ifdef V4L2_CTRL_TYPE_BITMASK case V4L2_CTRL_TYPE_BITMASK: +#endif case V4L2_CTRL_TYPE_BUTTON:{ int i; control.name[31] = '\0';