summaryrefslogtreecommitdiffstats
path: root/source/l/v4l-utils/v4l-utils.glibc228.diff
blob: d072af7473db70f179ce19fb232d225a41c2243e (plain) (blame)
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
27
28
29
30
31
32
--- ./lib/libv4lconvert/control/libv4lcontrol.c.orig	2017-12-27 08:33:07.000000000 -0600
+++ ./lib/libv4lconvert/control/libv4lcontrol.c	2018-09-18 19:07:39.598074096 -0500
@@ -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>
--- ./lib/libv4l2/libv4l2.c.orig	2017-12-27 07:50:55.000000000 -0600
+++ ./lib/libv4l2/libv4l2.c	2018-09-18 19:07:39.596074096 -0500
@@ -70,6 +70,7 @@
 #include <sys/types.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include "libv4l2.h"
 #include "libv4l2-priv.h"
 #include "libv4l-plugin.h"
--- ./utils/v4l2-ctl/v4l2-ctl.cpp.orig	2017-12-27 07:50:55.000000000 -0600
+++ ./utils/v4l2-ctl/v4l2-ctl.cpp	2018-09-18 19:07:39.599074096 -0500
@@ -33,6 +33,7 @@
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
+#include <sys/sysmacros.h>
 #include <dirent.h>
 #include <math.h>