Fix build break in gralloc
BUG: 79169494
Test: Local build and boot
Change-Id: I77675282458271e132e5d63ec10ae707d0b49873
diff --git a/guest/hals/gralloc/Android.mk b/guest/hals/gralloc/Android.mk
index 1dee96a..5fe2d54 100644
--- a/guest/hals/gralloc/Android.mk
+++ b/guest/hals/gralloc/Android.mk
@@ -32,7 +32,8 @@
LOCAL_CFLAGS := \
-DLOG_TAG=\"gralloc_vsoc\" \
-Wno-missing-field-initializers \
- -Wall -Werror
+ -Wall -Werror \
+ $(VSOC_VERSION_CFLAGS)
LOCAL_SHARED_LIBRARIES := \
libbase \
diff --git a/guest/hals/gralloc/gralloc.cpp b/guest/hals/gralloc/gralloc.cpp
index fda705e..e5e0c5d 100644
--- a/guest/hals/gralloc/gralloc.cpp
+++ b/guest/hals/gralloc/gralloc.cpp
@@ -19,6 +19,8 @@
#include <log/log.h>
#include <stdlib.h>
+#include "guest/libs/platform_support/api_level_fixes.h"
+
#include "guest/hals/gralloc/gralloc_vsoc_priv.h"
#include "guest/vsoc/lib/gralloc_region_view.h"