summaryrefslogtreecommitdiff
path: root/hardware.c
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-04-07 14:15:17 -0700
committerDan Willemsen <dwillemsen@google.com>2017-04-10 22:16:19 -0700
commit4d53a041d391048c403c714f77aaade49e88a934 (patch)
treedf81dcc1af35b55b95ca3d8dcbd248d153f39642 /hardware.c
parent00b192cee2de4f72c18a218ac7a1e7473cc72112 (diff)
downloadlibhardware-4d53a041d391048c403c714f77aaade49e88a934.tar.gz
Include what you use
This doesn't need utils/Log.h, just log/log.h and some stdlib headers. Bug: 33241851 Test: m -j libhardware Change-Id: Id73059f5636af42b0d1680b89f6ca27f466d9ea8
Diffstat (limited to 'hardware.c')
-rw-r--r--hardware.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hardware.c b/hardware.c
index 5394787e..7e4debec 100644
--- a/hardware.c
+++ b/hardware.c
@@ -23,9 +23,11 @@
#include <pthread.h>
#include <errno.h>
#include <limits.h>
+#include <stdio.h>
+#include <unistd.h>
#define LOG_TAG "HAL"
-#include <utils/Log.h>
+#include <log/log.h>
/** Base path of the hal modules */
#if defined(__LP64__)