Fix VNDK Compilation Errors
VNDK restrictions doesn't includes standard headers by default, add them explicitly. Change-Id: Icafac6f07fcdf58fccaabde8d472509090fb3e6f
This commit is contained in:
parent
e3a4716245
commit
addfa4a100
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <errno.h>
|
||||
#include <math.h>
|
||||
#include <cutils/log.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "audio_hw.h"
|
||||
#include "platform.h"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <cutils/str_parms.h>
|
||||
#include <cutils/log.h>
|
||||
#include <cutils/misc.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#include "audio_hw.h"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue