aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hegtvedt@cisco.com>2014-04-11 16:39:24 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2014-04-11 17:05:43 +0200
commitc23e55d4fd83ee253b4b4e3659a287e635226e11 (patch)
treed02c37ce5e74ae1322331575bd7399677ba11b12 /utils/v4l2-ctl/v4l2-ctl-sdr.cpp
parentda82ae299ad73ba34fda49c090f13d5fa407f7d2 (diff)
v4l2-ctl/dbg: include android-config.h header file if ANDROID is set
If the ANDROID symbol is defined, done by Android toolchain by default, include the android-config.h header file instead of the autogenerated config.h header file. Android build system is completely different from autoconf and make, and is not capable, without some hacks, to generate the config.h header file. Signed-off-by: Hans-Christian Egtvedt <hegtvedt@cisco.com> [hans.verkuil@cisco.com: moved config(-android).h include to v4l2-ctl.h] Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/v4l2-ctl/v4l2-ctl-sdr.cpp')
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-sdr.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-sdr.cpp b/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
index 860eca23..50ee598a 100644
--- a/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-sdr.cpp
@@ -13,10 +13,6 @@
#include <sys/time.h>
#include <dirent.h>
#include <math.h>
-#include <config.h>
-
-#include <linux/videodev2.h>
-#include <string>
#include "v4l2-ctl.h"

Privacy Policy