* [v4l-utils] treewide: Fix compilation with uClibc++
@ 2019-01-22 2:52 Rosen Penev
0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2019-01-22 2:52 UTC (permalink / raw)
To: linux-media
Several headers are missing.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
utils/cec-ctl/cec-ctl.cpp | 1 +
utils/cec-follower/cec-follower.h | 1 +
utils/common/media-info.cpp | 2 +-
utils/rds-ctl/rds-ctl.cpp | 2 ++
4 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp
index 76ce615e..bca1cc49 100644
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -18,6 +18,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <stdarg.h>
+#include <ctime>
#include <cerrno>
#include <string>
#include <vector>
diff --git a/utils/cec-follower/cec-follower.h b/utils/cec-follower/cec-follower.h
index b39293d1..36496fdc 100644
--- a/utils/cec-follower/cec-follower.h
+++ b/utils/cec-follower/cec-follower.h
@@ -9,6 +9,7 @@
#define _CEC_FOLLOWER_H_
#include <stdarg.h>
+#include <ctime>
#include <cerrno>
#include <string>
#include <linux/cec-funcs.h>
diff --git a/utils/common/media-info.cpp b/utils/common/media-info.cpp
index 033821ed..3474100e 100644
--- 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)
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index 3e68abeb..06b6344e 100644
--- 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>
--
2.17.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-22 2:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-22 2:52 [v4l-utils] treewide: Fix compilation with uClibc++ Rosen Penev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).