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 #include #include +#include +#include #define LOG_TAG "HAL" -#include +#include /** Base path of the hal modules */ #if defined(__LP64__)