Merge "Include what you use" am: 1aec6d56fd
am: 72871969ba

Change-Id: I1e3d74f1ce0001320443e159d532ae2ef43c3a5f
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__)