|
@ -1,68 +1,64 @@ |
|
|
--- 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
|
|
|
--- a/utils/cec-ctl/cec-ctl.cpp
|
|
|
+++ b/utils/cec-ctl/cec-ctl.cpp
|
|
|
+++ b/utils/cec-ctl/cec-ctl.cpp
|
|
|
@@ -30,6 +30,7 @@
|
|
|
|
|
|
|
|
|
@@ -18,6 +18,7 @@
|
|
|
#include <errno.h> |
|
|
#include <errno.h> |
|
|
#include <sys/ioctl.h> |
|
|
#include <sys/ioctl.h> |
|
|
#include <stdarg.h> |
|
|
#include <stdarg.h> |
|
|
+#include <time.h>
|
|
|
|
|
|
|
|
|
+#include <ctime>
|
|
|
#include <cerrno> |
|
|
#include <cerrno> |
|
|
#include <string> |
|
|
#include <string> |
|
|
#include <vector> |
|
|
#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
|
|
|
--- a/utils/cec-follower/cec-follower.h
|
|
|
+++ b/utils/cec-follower/cec-follower.h
|
|
|
+++ b/utils/cec-follower/cec-follower.h
|
|
|
@@ -37,6 +37,7 @@
|
|
|
|
|
|
|
|
|
@@ -9,6 +9,7 @@
|
|
|
#define _CEC_FOLLOWER_H_ |
|
|
#define _CEC_FOLLOWER_H_ |
|
|
|
|
|
|
|
|
#include <stdarg.h> |
|
|
#include <stdarg.h> |
|
|
+#include <time.h>
|
|
|
|
|
|
|
|
|
+#include <ctime>
|
|
|
#include <cerrno> |
|
|
#include <cerrno> |
|
|
#include <string> |
|
|
#include <string> |
|
|
#include <linux/cec-funcs.h> |
|
|
#include <linux/cec-funcs.h> |
|
|
|
|
|
--- a/utils/common/media-info.cpp
|
|
|
|
|
|
+++ b/utils/common/media-info.cpp
|
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <linux/media.h> |
|
|
|
|
|
|
|
|
|
|
|
-#include <fstream>
|
|
|
|
|
|
+#include <iostream>
|
|
|
|
|
|
#include <media-info.h> |
|
|
|
|
|
|
|
|
|
|
|
static std::string num2s(unsigned num, bool is_hex = true) |
|
|
|
|
|
--- a/utils/rds-ctl/rds-ctl.cpp
|
|
|
|
|
|
+++ b/utils/rds-ctl/rds-ctl.cpp
|
|
|
|
|
|
@@ -27,6 +27,8 @@
|
|
|
|
|
|
#include <linux/videodev2.h> |
|
|
|
|
|
#include <libv4l2rds.h> |
|
|
|
|
|
|
|
|
|
|
|
+#include <cctype>
|
|
|
|
|
|
+#include <ctime>
|
|
|
|
|
|
#include <list> |
|
|
|
|
|
#include <vector> |
|
|
|
|
|
#include <map> |
|
|
|
|
|
--- a/utils/v4l2-compliance/media-info.cpp
|
|
|
|
|
|
+++ b/utils/v4l2-compliance/media-info.cpp
|
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <linux/media.h> |
|
|
|
|
|
|
|
|
|
|
|
-#include <fstream>
|
|
|
|
|
|
+#include <iostream>
|
|
|
|
|
|
#include <media-info.h> |
|
|
|
|
|
|
|
|
|
|
|
static std::string num2s(unsigned num, bool is_hex = true) |
|
|
|
|
|
--- a/utils/v4l2-ctl/media-info.cpp
|
|
|
|
|
|
+++ b/utils/v4l2-ctl/media-info.cpp
|
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <linux/media.h> |
|
|
|
|
|
|
|
|
|
|
|
-#include <fstream>
|
|
|
|
|
|
+#include <iostream>
|
|
|
|
|
|
#include <media-info.h> |
|
|
|
|
|
|
|
|
|
|
|
static std::string num2s(unsigned num, bool is_hex = true) |