blob: e643d68e984b913140c7e56d91232f64bb0f5c6f [file] [log] [blame]
include sys/sysmacros.h for major/minor/makedev
These functions have always been defined in sys/sysmacros.h under
Linux C libraries. For some, including sys/types.h implicitly
includes that as well, but glibc deprecated that in glibc 2.25.
Include the header explicitly for the funcs.
--- a/v4l-utils-1.6.0/lib/libv4lconvert/control/libv4lcontrol.c
+++ b/v4l-utils-1.6.0/lib/libv4lconvert/control/libv4lcontrol.c
@@ -23,6 +23,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <ctype.h>
#include <errno.h>
#include <fnmatch.h>