blob: b8190507fc7d08f1db2a22c8199013f9c6860bdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Index: v4l-utils-1.14.1/lib/libv4lconvert/control/libv4lcontrol.c
===================================================================
--- v4l-utils-1.14.1.orig/lib/libv4lconvert/control/libv4lcontrol.c
+++ v4l-utils-1.14.1/lib/libv4lconvert/control/libv4lcontrol.c
@@ -20,9 +20,7 @@
*/
#include <sys/types.h>
-#if defined(MAJOR_IN_SYSMACROS)
#include <sys/sysmacros.h>
-#endif
#include <sys/mman.h>
#include <fcntl.h>
#include <sys/stat.h>
Index: v4l-utils-1.14.1/utils/v4l2-ctl/v4l2-ctl.cpp
===================================================================
--- v4l-utils-1.14.1.orig/utils/v4l2-ctl/v4l2-ctl.cpp
+++ v4l-utils-1.14.1/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -21,6 +21,7 @@
*/
#include <unistd.h>
+#include <sys/sysmacros.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
|