diff options
Diffstat (limited to 'src/broadcom/common/v3d_debug.h')
-rw-r--r-- | src/broadcom/common/v3d_debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/broadcom/common/v3d_debug.h b/src/broadcom/common/v3d_debug.h index bdb9518548c..75eb2718f30 100644 --- a/src/broadcom/common/v3d_debug.h +++ b/src/broadcom/common/v3d_debug.h @@ -57,7 +57,11 @@ extern uint32_t V3D_DEBUG; #ifdef HAVE_ANDROID_PLATFORM #define LOG_TAG "BROADCOM-MESA" +#if ANDROID_API_LEVEL >= 26 +#include <log/log.h> +#else #include <cutils/log.h> +#endif /* use log/log.h start from android 8 major version */ #ifndef ALOGW #define ALOGW LOGW #endif |