1 MAJOR_IN_SYSMACROS, required to include <sys/sysmacros.h>, is defined in config.h
3 --- v4l-utils-1.14.2/lib/libv4lconvert/control/libv4lcontrol.c.orig 2017-12-27 15:33:07.000000000 +0100
4 +++ v4l-utils-1.14.2/lib/libv4lconvert/control/libv4lcontrol.c 2018-09-01 20:17:14.554222613 +0200
6 # Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
10 #include <sys/types.h>
11 #if defined(MAJOR_IN_SYSMACROS)
12 #include <sys/sysmacros.h>
13 --- v4l-utils-1.14.2/utils/v4l2-ctl/v4l2-ctl.cpp.orig 2017-12-27 14:50:55.000000000 +0100
14 +++ v4l-utils-1.14.2/utils/v4l2-ctl/v4l2-ctl.cpp 2018-09-01 20:20:28.890887051 +0200
16 #ifdef HAVE_SYS_KLOG_H
19 +#if defined(MAJOR_IN_SYSMACROS)
20 +#include <sys/sysmacros.h>