You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

68 lines
1.5 KiB

--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -46,6 +46,7 @@
#include <vector>
#include <map>
#include <algorithm>
+#include <string_iostream>
#include <fstream>
char options[OptLast];
--- 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
@@ -17,6 +17,7 @@
#include <sys/mman.h>
#include <dirent.h>
#include <math.h>
+#include <time.h>
#include "v4l2-ctl.h"
#include "v4l-stream.h"
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -30,6 +30,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <stdarg.h>
+#include <time.h>
#include <cerrno>
#include <string>
#include <vector>
--- a/utils/cec-compliance/cec-compliance.h
+++ b/utils/cec-compliance/cec-compliance.h
@@ -21,6 +21,7 @@
#define _CEC_COMPLIANCE_H_
#include <stdarg.h>
+#include <time.h>
#include <cerrno>
#include <string>
#include <linux/cec-funcs.h>
--- a/utils/cec-follower/cec-follower.h
+++ b/utils/cec-follower/cec-follower.h
@@ -37,6 +37,7 @@
#define _CEC_FOLLOWER_H_
#include <stdarg.h>
+#include <time.h>
#include <cerrno>
#include <string>
#include <linux/cec-funcs.h>