8f646eb2a1
Kernel versions prior to 3.4 did not have V4L2_CAP_DEVICE_CAPS and compiling against such a kernel will fail. This patch introduces a version check and makes eudev fall back to v2cap.capabilities on these kernels. Signed-off-by: Stefan Ott <stefan@ott.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>