rsHidlAdaptation: Include log/log.h, since it uses ALOG*
Don't rely on this being included transitively by some other header.
Test: m -j libRS
Change-Id: Ieeea9ca80f76f854bf9c557c59a0dde7ebda028e
diff --git a/rsHidlAdaptation.cpp b/rsHidlAdaptation.cpp
index 2ec1069..ead4754 100644
--- a/rsHidlAdaptation.cpp
+++ b/rsHidlAdaptation.cpp
@@ -14,11 +14,14 @@
* limitations under the License.
*/
+#define LOG_TAG "RenderScript HIDL Adaptation"
+
#include "cpp/rsDispatch.h"
#include "rsHidlAdaptation.h"
#include "rsFallbackAdaptation.h"
#include <cutils/properties.h>
+#include <log/log.h>
using ::android::hardware::renderscript::V1_0::IDevice;
using ::android::hardware::renderscript::V1_0::IContext;
@@ -51,9 +54,6 @@
using ::android::hardware::Void;
using ::android::sp;
-#undef LOG_TAG
-#define LOG_TAG "RenderScript HIDL Adaptation"
-
dispatchTable RsHidlAdaptation::mEntryFuncs;
sp<IDevice> RsHidlAdaptation::mHidl;
std::set<sp<IContext> > RsHidlAdaptation::mContexts;