diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
index c1c5ac4..03f70d1 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';
