summaryrefslogtreecommitdiffstats
path: root/libs/libv4l/patches/020-add-missing-includes.patch
blob: 34e0511ab7c5fa4a1257370722da10670368a63b (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
27
28
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -29,6 +29,7 @@
 #include <inttypes.h>
 #include <getopt.h>
 #include <sys/types.h>
+#include <ctype.h>
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/ioctl.h>
@@ -36,6 +37,7 @@
 #include <dirent.h>
 #include <config.h>
 #include <signal.h>
+#include <time.h>
 
 #include <linux/videodev2.h>
 #include <libv4l2.h>
--- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@ -14,6 +14,7 @@
 #include <sys/mman.h>
 #include <dirent.h>
 #include <math.h>
+#include <time.h>
 
 #include "v4l2-ctl.h"