Merge "Include what you use"
am: 1aec6d56fd
Change-Id: I5728260f69ac5a80d852a69209886f684a48d31c
diff --git a/Android.bp b/Android.bp
index 64f5c8e..2c46ce9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,7 @@
"liblog",
"libdl",
],
+ header_libs: ["libsystem_headers"],
cflags: ["-DQEMU_HARDWARE"],
export_include_dirs: ["include"],
}
diff --git a/hardware.c b/hardware.c
index 5394787..7e4debe 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__)