Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile-time issue on very old kernels #247

Merged
merged 1 commit into from
Apr 6, 2023

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