aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2020-05-14 11:29:01 +0200
committerGregor Jasny <gjasny@googlemail.com>2020-05-14 11:29:01 +0200
commitb6463b0f37905fc8df67bdfaa61924a3b32215fb (patch)
tree1ca536610ff8e4dd9e350ea9dabdf4b9f8882e94
parent06909fba01687439acd7b6b6d1f07462a9193227 (diff)
ubuntu1604: add missing headers for std::exit
-rw-r--r--utils/cec-compliance/cec-compliance.cpp1
-rw-r--r--utils/cec-compliance/cec-compliance.h1
-rw-r--r--utils/cec-compliance/cec-test-adapter.cpp1
-rw-r--r--utils/cec-compliance/cec-test-audio.cpp1
-rw-r--r--utils/cec-compliance/cec-test.cpp1
-rw-r--r--utils/cec-follower/cec-follower.cpp1
-rw-r--r--utils/common/media-info.cpp1
-rw-r--r--utils/v4l2-compliance/v4l2-compliance.cpp1
-rw-r--r--utils/v4l2-compliance/v4l2-compliance.h1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-edid.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-meta.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-misc.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-sdr.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-selection.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-stds.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-streaming.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-subdev.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-tuner.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-vbi.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-vidcap.cpp1
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-vidout.cpp1
-rw-r--r--utils/v4l2-dbg/v4l2-dbg.cpp1
22 files changed, 22 insertions, 0 deletions
diff --git a/utils/cec-compliance/cec-compliance.cpp b/utils/cec-compliance/cec-compliance.cpp
index d0580579..53be9604 100644
--- a/utils/cec-compliance/cec-compliance.cpp
+++ b/utils/cec-compliance/cec-compliance.cpp
@@ -18,6 +18,7 @@
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <sstream>
+#include <cstdlib>
#include "cec-compliance.h"
#include "compiler.h"
diff --git a/utils/cec-compliance/cec-compliance.h b/utils/cec-compliance/cec-compliance.h
index 36b83d26..f31d2edd 100644
--- a/utils/cec-compliance/cec-compliance.h
+++ b/utils/cec-compliance/cec-compliance.h
@@ -8,6 +8,7 @@
#ifndef _CEC_COMPLIANCE_H_
#define _CEC_COMPLIANCE_H_
+#include <cstdlib>
#include <ctime>
#include <string>
diff --git a/utils/cec-compliance/cec-test-adapter.cpp b/utils/cec-compliance/cec-test-adapter.cpp
index df7374df..f19329a9 100644
--- a/utils/cec-compliance/cec-test-adapter.cpp
+++ b/utils/cec-compliance/cec-test-adapter.cpp
@@ -17,6 +17,7 @@
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <sstream>
+#include <cstdlib>
#include "cec-compliance.h"
diff --git a/utils/cec-compliance/cec-test-audio.cpp b/utils/cec-compliance/cec-test-audio.cpp
index d422a7da..85b3777d 100644
--- a/utils/cec-compliance/cec-test-audio.cpp
+++ b/utils/cec-compliance/cec-test-audio.cpp
@@ -15,6 +15,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <config.h>
+#include <cstdlib>
#include "cec-compliance.h"
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index a84f83d3..c24c6aa2 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -3,6 +3,7 @@
* Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*/
+#include <cstdlib>
#include <cstring>
#include <unistd.h>
diff --git a/utils/cec-follower/cec-follower.cpp b/utils/cec-follower/cec-follower.cpp
index 589426ec..9cead57a 100644
--- a/utils/cec-follower/cec-follower.cpp
+++ b/utils/cec-follower/cec-follower.cpp
@@ -3,6 +3,7 @@
* Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*/
+#include <cstdlib>
#include <cstring>
#include <unistd.h>
diff --git a/utils/common/media-info.cpp b/utils/common/media-info.cpp
index 8aa12f34..78ed6746 100644
--- a/utils/common/media-info.cpp
+++ b/utils/common/media-info.cpp
@@ -17,6 +17,7 @@
#include <sys/time.h>
#include <sys/sysmacros.h>
#include <dirent.h>
+#include <cstdlib>
#include <linux/media.h>
diff --git a/utils/v4l2-compliance/v4l2-compliance.cpp b/utils/v4l2-compliance/v4l2-compliance.cpp
index 549e37f7..91774782 100644
--- a/utils/v4l2-compliance/v4l2-compliance.cpp
+++ b/utils/v4l2-compliance/v4l2-compliance.cpp
@@ -18,6 +18,7 @@
Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
*/
+#include <cstdlib>
#include <cstring>
#include <unistd.h>
diff --git a/utils/v4l2-compliance/v4l2-compliance.h b/utils/v4l2-compliance/v4l2-compliance.h
index 07d81b83..21e31872 100644
--- a/utils/v4l2-compliance/v4l2-compliance.h
+++ b/utils/v4l2-compliance/v4l2-compliance.h
@@ -23,6 +23,7 @@
#include <stdarg.h>
#include <cerrno>
+#include <cstdlib>
#include <string>
#include <map>
#include <set>
diff --git a/utils/v4l2-ctl/v4l2-ctl-edid.cpp b/utils/v4l2-ctl/v4l2-ctl-edid.cpp
index b13d8209..3e4ba669 100644
--- a/utils/v4l2-ctl/v4l2-ctl-edid.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-edid.cpp
@@ -1,3 +1,4 @@
+#include <cstdlib>
#include <cstring>
#include <unistd.h>
diff --git a/utils/v4l2-ctl/v4l2-ctl-meta.cpp b/utils/v4l2-ctl/v4l2-ctl-meta.cpp
index 3e71a6eb..2f745e4f 100644
--- a/utils/v4l2-ctl/v4l2-ctl-meta.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-meta.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-misc.cpp b/utils/v4l2-ctl/v4l2-ctl-misc.cpp
index 6db87568..f37e38e1 100644
--- a/utils/v4l2-ctl/v4l2-ctl-misc.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-misc.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-sdr.cpp b/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
index 71a65913..7a36341a 100644
--- a/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-selection.cpp b/utils/v4l2-ctl/v4l2-ctl-selection.cpp
index be62eb03..5cafb9f4 100644
--- a/utils/v4l2-ctl/v4l2-ctl-selection.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-selection.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-stds.cpp b/utils/v4l2-ctl/v4l2-ctl-stds.cpp
index 8dd06c43..f613d037 100644
--- a/utils/v4l2-ctl/v4l2-ctl-stds.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-stds.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
index 8578610d..71714ec7 100644
--- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@ -1,3 +1,4 @@
+#include <cstdlib>
#include <cstring>
#include <unistd.h>
diff --git a/utils/v4l2-ctl/v4l2-ctl-subdev.cpp b/utils/v4l2-ctl/v4l2-ctl-subdev.cpp
index 9e17a58d..c0f36eab 100644
--- a/utils/v4l2-ctl/v4l2-ctl-subdev.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-subdev.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-tuner.cpp b/utils/v4l2-ctl/v4l2-ctl-tuner.cpp
index 981b8765..2f854dc2 100644
--- a/utils/v4l2-ctl/v4l2-ctl-tuner.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-tuner.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <cmath>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-vbi.cpp b/utils/v4l2-ctl/v4l2-ctl-vbi.cpp
index ee55012f..e72886f8 100644
--- a/utils/v4l2-ctl/v4l2-ctl-vbi.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-vbi.cpp
@@ -14,6 +14,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "compiler.h"
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp b/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp
index 6e920c1d..80312b51 100644
--- a/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-ctl/v4l2-ctl-vidout.cpp b/utils/v4l2-ctl/v4l2-ctl-vidout.cpp
index e3cb4bcb..5f433a17 100644
--- a/utils/v4l2-ctl/v4l2-ctl-vidout.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-vidout.cpp
@@ -13,6 +13,7 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
+#include <cstdlib>
#include "v4l2-ctl.h"
diff --git a/utils/v4l2-dbg/v4l2-dbg.cpp b/utils/v4l2-dbg/v4l2-dbg.cpp
index 86266376..214fb9de 100644
--- a/utils/v4l2-dbg/v4l2-dbg.cpp
+++ b/utils/v4l2-dbg/v4l2-dbg.cpp
@@ -29,6 +29,7 @@
#include <sys/ioctl.h>
#include <sys/time.h>
#include <math.h>
+#include <cstdlib>
#ifdef ANDROID
#include <android-config.h>

Privacy Policy