summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--power-845.c2
-rw-r--r--power.c1
-rw-r--r--powerhintparser.c1
-rw-r--r--utils.c1
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>
diff --git a/power.c b/power.c
index 05a09ba..051cd5a 100644
--- a/power.c
+++ b/power.c
@@ -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"
diff --git a/utils.c b/utils.c
index e1e436c..cf8c360 100644
--- a/utils.c
+++ b/utils.c
@@ -33,6 +33,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "utils.h"
#include "list.h"