Skip to content

Fix compile-time issue on very old kernels#247

Merged
bbonev merged 1 commit intoeudev-project:masterfrom
cockroach:master
Apr 6, 2023
Merged

Fix compile-time issue on very old kernels#247
bbonev merged 1 commit intoeudev-project:masterfrom
cockroach:master

Conversation

@cockroach
Copy link
Contributor

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.

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.
@bbonev
Copy link
Member

bbonev commented Apr 6, 2023

LGTM

@bbonev bbonev merged commit 39979dd into eudev-project:master Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants