diff options
author | Atman <masteratman@gmail.com> | 2019-07-04 17:36:59 +0000 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-09-05 19:30:35 +0800 |
commit | bfd05b5ff6fdb90af4e597041a4d5140c7bfc57e (patch) | |
tree | f596f1807947c7393415acb46efbf0bf985024cf | |
parent | 058497245dc2f0d351a2d42a46916c7e23a2e542 (diff) |
hal: Add missing includes
* pthread.h include was missing so we add it.
* Fixes compilation with BOARD_VNDK_VERSION.
Change-Id: I297a0fc0cf4763b3550e1a8d37f2653b77b6e3a8
-rw-r--r-- | hal/audio_extn/gef.c | 1 | ||||
-rw-r--r-- | hal/audio_hw_extn_api.c | 2 | ||||
-rw-r--r-- | hal/platform_info.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/hal/audio_extn/gef.c b/hal/audio_extn/gef.c index 69b1e414..dc70717e 100644 --- a/hal/audio_extn/gef.c +++ b/hal/audio_extn/gef.c @@ -39,6 +39,7 @@ #include "audio_hw.h" #include "platform.h" #include "platform_api.h" +#include <pthread.h> #include <sys/stat.h> #include <stdlib.h> #include <dlfcn.h> diff --git a/hal/audio_hw_extn_api.c b/hal/audio_hw_extn_api.c index 4fece7ea..6d8901d6 100644 --- a/hal/audio_hw_extn_api.c +++ b/hal/audio_hw_extn_api.c @@ -42,6 +42,8 @@ #include "audio_extn.h" #include "audio_hw_extn_api.h" +#include <pthread.h> + #ifdef DYNAMIC_LOG_ENABLED #include <log_xml_parser.h> #define LOG_MASK HAL_MOD_FILE_AUDIO_HW_EXTN_API diff --git a/hal/platform_info.c b/hal/platform_info.c index 4ad5a5cc..84f56a10 100644 --- a/hal/platform_info.c +++ b/hal/platform_info.c @@ -41,6 +41,7 @@ #include "platform_api.h" #include "audio_extn.h" #include <platform.h> +#include <pthread.h> #include <math.h> #ifdef DYNAMIC_LOG_ENABLED |