summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp1
-rw-r--r--hardware.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 64f5c8e2..2c46ce9a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,7 @@ cc_library_shared {
"liblog",
"libdl",
],
+ header_libs: ["libsystem_headers"],
cflags: ["-DQEMU_HARDWARE"],
export_include_dirs: ["include"],
}
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__)