Fix VNDK Compilation Errors

VNDK restrictions doesn't includes standard headers by
default, add them explicitly.

Change-Id: Icafac6f07fcdf58fccaabde8d472509090fb3e6f
This commit is contained in:
Vinay Verma 2018-04-29 14:03:38 +05:30 committed by Gerrit - the friendly Code Review server
parent e3a4716245
commit addfa4a100
22 changed files with 28 additions and 1 deletions

View File

@ -25,6 +25,7 @@
#include <dlfcn.h>
#include <cutils/log.h>
#include <cutils/list.h>
#include <time.h>
#include "acdb.h"
#include "platform_api.h"

View File

@ -45,6 +45,7 @@
#include <fcntl.h>
#include <cutils/properties.h>
#include <cutils/log.h>
#include <unistd.h>
#include "audio_hw.h"
#include "audio_extn.h"

View File

@ -24,6 +24,7 @@
#include <errno.h>
#include <math.h>
#include <cutils/log.h>
#include <unistd.h>
#include "audio_hw.h"
#include "platform.h"

View File

@ -33,6 +33,7 @@
#include <cutils/atomic.h>
#include <cutils/str_parms.h>
#include <cutils/log.h>
#include <unistd.h>
#include "audio_hw.h"
#include "audio_extn.h"
#include "platform_api.h"

View File

@ -35,6 +35,7 @@
#include <stdlib.h>
#include <dlfcn.h>
#include <cutils/log.h>
#include <unistd.h>
#include "audio_hw.h"
#include "audio_extn.h"
#include "platform.h"

View File

@ -43,6 +43,7 @@
#include <stdlib.h>
#include <dlfcn.h>
#include <math.h>
#include <unistd.h>
#include <cutils/properties.h>
#include "audio_extn.h"
#include <linux/msm_audio_calibration.h>

View File

@ -35,6 +35,7 @@
#include <cutils/properties.h>
#include <ctype.h>
#include <math.h>
#include <unistd.h>
#ifdef DYNAMIC_LOG_ENABLED
#include <log_xml_parser.h>

View File

@ -29,6 +29,7 @@
#include <cutils/str_parms.h>
#include <cutils/log.h>
#include <cutils/misc.h>
#include <unistd.h>
#include "audio_hw.h"

View File

@ -36,6 +36,7 @@
#include <cutils/str_parms.h>
#include <audio_hw.h>
#include <platform_api.h>
#include <unistd.h>
#include "platform.h"
#include "audio_extn.h"
#include "acdb.h"

View File

@ -24,9 +24,10 @@
#include <errno.h>
#include <stdlib.h>
#include <math.h>
#include <cutils/log.h>
#include <log/log.h>
#include <cutils/str_parms.h>
#include <sys/ioctl.h>
#include <time.h>
#include <sound/voice_params.h>
#include "audio_hw.h"

View File

@ -33,6 +33,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#include <aenc_svr.h>
#include <unistd.h>
/**
@brief This function processes posted messages

View File

@ -33,6 +33,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#include <aenc_svr.h>
#include <unistd.h>
/**
@brief This function processes posted messages

View File

@ -33,6 +33,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#include <aenc_svr.h>
#include <unistd.h>
/**
@brief This function processes posted messages

View File

@ -32,6 +32,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <aenc_svr.h>

View File

@ -33,6 +33,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <errno.h>
#include <aenc_svr.h>
#include <unistd.h>
/**
@brief This function processes posted messages

View File

@ -40,6 +40,7 @@
#include <cutils/str_parms.h>
#include <cutils/properties.h>
#include <hardware/audio_effect.h>
#include <pthread.h>
#include "bundle.h"
#include "equalizer.h"
#include "bass_boost.h"

View File

@ -44,6 +44,8 @@
#include <system/thread_defs.h>
#include <tinyalsa/asoundlib.h>
#include <hardware/audio_effect.h>
#include <pthread.h>
#include <unistd.h>
#include "bundle.h"
#include "hw_accelerator.h"

View File

@ -62,6 +62,8 @@
#include <sound/devdep_params.h>
#include <linux/msm_audio.h>
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include "effect_api.h"
#ifdef DTS_EAGLE

View File

@ -19,6 +19,8 @@
#include <string.h>
#include "effect_util.h"
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#ifdef LOG_TAG
#undef LOG_TAG

View File

@ -31,6 +31,8 @@
//#define LOG_NDEBUG 0
#include <stdlib.h>
#include <dlfcn.h>
#include <unistd.h>
#include <pthread.h>
#include <cutils/list.h>
#include <cutils/log.h>

View File

@ -23,6 +23,8 @@
#include <time.h>
#include <sys/prctl.h>
#include <dlfcn.h>
#include <pthread.h>
#include <unistd.h>
#include <cutils/list.h>
#include <cutils/log.h>

View File

@ -21,6 +21,7 @@
#include <stdlib.h>
#include <cutils/log.h>
#include <cutils/list.h>
#include <unistd.h>
#include <hardware/audio_effect.h>
#include <audio_effects/effect_aec.h>
#include <audio_effects/effect_agc.h>