2020-01-08 10:03:39 +01:00
|
|
|
Index: v4l-utils-1.18.0/lib/libv4lconvert/control/libv4lcontrol.c
|
2018-10-01 12:51:43 +02:00
|
|
|
===================================================================
|
2020-01-08 10:03:39 +01:00
|
|
|
--- v4l-utils-1.18.0.orig/lib/libv4lconvert/control/libv4lcontrol.c
|
|
|
|
+++ v4l-utils-1.18.0/lib/libv4lconvert/control/libv4lcontrol.c
|
2018-10-01 12:51:43 +02:00
|
|
|
@@ -19,6 +19,7 @@
|
|
|
|
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#include "config.h"
|
|
|
|
#include <sys/types.h>
|
2020-01-08 10:03:39 +01:00
|
|
|
#ifndef __OpenBSD__
|
2018-10-01 12:51:43 +02:00
|
|
|
#include <sys/sysmacros.h>
|
2020-01-08 10:03:39 +01:00
|
|
|
Index: v4l-utils-1.18.0/utils/v4l2-ctl/v4l2-ctl.cpp
|
2018-10-01 12:51:43 +02:00
|
|
|
===================================================================
|
2020-01-08 10:03:39 +01:00
|
|
|
--- v4l-utils-1.18.0.orig/utils/v4l2-ctl/v4l2-ctl.cpp
|
|
|
|
+++ v4l-utils-1.18.0/utils/v4l2-ctl/v4l2-ctl.cpp
|
2018-10-01 12:51:43 +02:00
|
|
|
@@ -20,6 +20,7 @@
|
|
|
|
Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#include "config.h"
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
@@ -27,6 +28,9 @@
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include <getopt.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
+#if defined(MAJOR_IN_SYSMACROS)
|
|
|
|
+#include <sys/sysmacros.h>
|
|
|
|
+#endif
|
|
|
|
#include <sys/stat.h>
|
2020-01-08 10:03:39 +01:00
|
|
|
#include <sys/epoll.h>
|
2018-10-01 12:51:43 +02:00
|
|
|
#include <fcntl.h>
|