diff options
author | Vinay Verma <vvinay@codeaurora.org> | 2018-04-29 14:08:30 +0530 |
---|---|---|
committer | David Ng <dave@codeaurora.org> | 2018-06-04 15:11:47 -0700 |
commit | 2fd9c127563a9b64780340e3161f010377d9500f (patch) | |
tree | c59702db49e4b76b3e48fe9219f1b8413522af8d | |
parent | 32e093d10dbb8a93373e8c67bc43e340de94f25f (diff) | |
download | vendor_qcom_opensource_power-2fd9c127563a9b64780340e3161f010377d9500f.tar.gz vendor_qcom_opensource_power-2fd9c127563a9b64780340e3161f010377d9500f.tar.bz2 vendor_qcom_opensource_power-2fd9c127563a9b64780340e3161f010377d9500f.zip |
power: Fix VNDK Compilation Errors
VNDK restrictions doesn't includes standard headers by
default, add them explicitly.
Change-Id: I4c72a28ffa141ecadcfe47cc7c1f62f2a0c8576e
-rw-r--r-- | power-845.c | 2 | ||||
-rw-r--r-- | power.c | 1 | ||||
-rw-r--r-- | powerhintparser.c | 1 | ||||
-rw-r--r-- | utils.c | 1 |
4 files changed, 5 insertions, 0 deletions
diff --git a/power-845.c b/power-845.c index ca6f421..9248f38 100644 --- a/power-845.c +++ b/power-845.c @@ -37,6 +37,8 @@ #include <fcntl.h> #include <dlfcn.h> #include <stdlib.h> +#include <pthread.h> +#include <unistd.h> #define LOG_TAG "QTI PowerHAL" #include <utils/Log.h> @@ -36,6 +36,7 @@ #include <fcntl.h> #include <dlfcn.h> #include <stdlib.h> +#include <unistd.h> #define LOG_TAG "QTI PowerHAL" #include <utils/Log.h> diff --git a/powerhintparser.c b/powerhintparser.c index 7dd5be2..6d8646f 100644 --- a/powerhintparser.c +++ b/powerhintparser.c @@ -32,6 +32,7 @@ #include <cutils/properties.h> #include <libxml/parser.h> #include <libxml/tree.h> +#include <unistd.h> #include "powerhintparser.h" #define LOG_TAG "QTI PowerHAL" @@ -33,6 +33,7 @@ #include <errno.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "utils.h" #include "list.h" |