Created attachment 14891 [details] [review] 0001-Compile-warning-fixes.patch Include unistd.h for "close" prototype. Include sys/ioctl.h instead of asm/ioctl.h to also get "ioctl" prototype. Only remaining warning is about REGION_INIT macro, as it commonly receives the address of a variable in stack, thus generating a warning about address of "<name>" will always evaluate as 'true'.
Not a bug because patch would just allow compiling without warnings, but no functionality change if applying or not the patch.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.