power: Fix VNDK Compilation Errors

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

Change-Id: I4c72a28ffa141ecadcfe47cc7c1f62f2a0c8576e
This commit is contained in:
Vinay Verma
2018-04-29 14:08:30 +05:30
committed by David Ng
parent 32e093d10d
commit 2fd9c12756
4 changed files with 5 additions and 0 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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"

View File

@@ -33,6 +33,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "utils.h"
#include "list.h"