X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fegl%2Fmain%2Fegllog.c;h=c223f49b0fed1e0e71cfb06aa56f597b84b22f42;hp=64ff474c65c46078f9e5b7f53f4b5701b3832cae;hb=ff7521c9bac3d52f645c68deac7084e20b81b2f5;hpb=cf3fb42fb5eb6130693a4be0a7b5ea06b184ce2d diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c index 64ff474c65c..c223f49b0fe 100644 --- a/src/egl/main/egllog.c +++ b/src/egl/main/egllog.c @@ -47,7 +47,11 @@ #ifdef HAVE_ANDROID_PLATFORM #define LOG_TAG "EGL-MAIN" +#if ANDROID_API_LEVEL >= 26 +#include +#else #include +#endif /* use log/log.h start from android 8 major version */ #endif /* HAVE_ANDROID_PLATFORM */