Closed vladmovchan closed 2 weeks ago
Don't forget to add a comment to the code explaining that we don't need the libv4l2
headers either to build v4l2-sys
, just the Linux UAPI header.
I'm not certain whether that's provided by libv4l2
or another package on FreeBSD. Is it https://www.freshports.org/multimedia/v4l_compat?
User API header file required to generate bindings in
v4l2-sys
is not part oflibv4l2
.Instead, directly check if UAPI header file is present on FreeBSD and extend compiler's include paths. Or guide user towards necessary package if header file is missing.